close
The Wayback Machine - https://web.archive.org/web/20200724120204/https://github.com/storybookjs/storybook/discussions/11563
Skip to content
🙏 Help

CSF Stories with arbitrary MDX #11563

Answered
🙏 Help
8d ago
· 1 reply
Answered
🙏 Help
8d ago
· 1 reply
Copy link

@goldenLunchbox goldenLunchbox

I expected the ID of <Story id="some--id" /> to be a reference to the story name attribute or the name of the story function export const basic = () => <Button>Basic</Button>;

But non of the above is loading the story into the docs page. What am i missing?

LINK: https://github.com/storybookjs/storybook/blob/master/addons/docs/docs/recipes.md#csf-stories-with-arbitrary-mdx

Replies

Answer selected by goldenLunchbox

I found the missing information. --> https://github.com/storybookjs/storybook/blob/master/addons/docs/docs/mdx.md#embedding-stories.

"ID some--id (check the browser URL in Storybook v5+ to see a story's ID):"

@goldenLunchbox goldenLunchbox marked their comment as the answer Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
Beta
You can’t perform that action at this time.