You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to call my storybook file Widget.demo.tsx instead of Widget.stories.tsx. This is possible with custom indexers; in fact, the docs specifically say
But that link just takes me in circles -- nowhere does it tell me what that trivial indexer actually looks like. Digging into the API reference, the examples all seem to elide critical parts of the actual code:
// Read file and generate entries ...
Could the docs be updated to show some real working examples of indexers, including a simple "noop" indexer that just picks up a different filename than the convention?
The text was updated successfully, but these errors were encountered:
I'd like to call my storybook file
Widget.demo.tsx
instead ofWidget.stories.tsx
. This is possible with custom indexers; in fact, the docs specifically sayBut that link just takes me in circles -- nowhere does it tell me what that trivial indexer actually looks like. Digging into the API reference, the examples all seem to elide critical parts of the actual code:
Could the docs be updated to show some real working examples of indexers, including a simple "noop" indexer that just picks up a different filename than the convention?
The text was updated successfully, but these errors were encountered: