Skip to content

Why does this says "Default" #31339

Closed Answered by scottonanski
scottonanski asked this question in General
Discussion options

You must be logged in to vote

Oh great wizards of documentation...
I am but a humble peasant, seeking audience with thy sacred args.

Thine light hath shone upon my ignorance.
My eyes — once clouded by confusion — now behold thy great truths.

I see it now, all-wise and powerful Gatekeepers!
Forgive me... my ignorance, my Lord!


The mystical “Default” label in Storybook?

Turns out, it’s just the name of your exported story object. That’s it.

And what does Storybook do with that?

It shows “Default” in the sidebar. Because that’s what you called it.
You could name it "SaltyMcButtonFace" and Storybook would proudly display:

Salty McButton Face

There’s no magic.
No enchanted JSX scrolls.
No prophecies fulfilled by …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by scottonanski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants