Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
This is my attempt to set up a development environment for working on cohost posts. It's using react because I like react. See the repo at https://github.com/chuckdries/cohost-storybook for TODO and contributing documentation.
src/stories/Waterfall.stories.tsx
into a new file ending in .stories.tsx
inside src/stories
title
under export default
and storyName
near the bottom, and then select your post in the storybook sidebarTip: Toggle the "wrap with posts" control in the bottom panel to enable or disable resizeable posts above and below your post (for testing scrolling effects)
This is React, which means we're authoring in JSX, not HTML. There are some subtle differences:
All tags must either end in />
or have a corresponding closing tag, including html tags that generally don't need one like <hr>
and <img>
See the react docs for more information. I found a helpful website you can paste inline style strings into and spits out an inline style object: https://casbin.org/CssToAndFromReact/
The class
attribute is called className
in react.