Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add story id support to initial selection #368

Conversation

jgornick
Copy link
Contributor

@jgornick jgornick commented Jul 8, 2022

Issue: Add story ID support to the initialSelection parameter.

What I did

Add support for string or object representations of a story ID.

How to test

Provide a story ID (path-to-story--story-name) as a string and your story loads.

@jgornick jgornick requested a review from dannyhw as a code owner July 8, 2022 15:09
Copy link
Member

@dannyhw dannyhw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me 👍

@dannyhw dannyhw merged commit 6a76a06 into storybookjs:next-6.0 Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants