Closed rChaoz closed 1 month ago
Update: apparently I was using import Stories
instead of the one I should use: import * as Stories
.
With the latter it works to use <Story of={Stories.Primary} />
(or any named story), although the IDE is giving me "Unresolved variable" warnings.
How to include stories defined in a
x.stories.svelte
in a MDX file?The following methods all include the first story defined in the stories file:
I don't know what to set the
of
property to (Stories.Name
doesn't work).