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

Allow a Story to access its context #47

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

j3rem1e
Copy link
Contributor

@j3rem1e j3rem1e commented Apr 6, 2022

A story can now uses its context.

<Story ... let:context>
</Story>

Should fix #46 and enabling addon like addon-fixtures.

@ramonsnir
Copy link

This is an interesting coincidence of timing. We're using this fix to get toolbar values in Svelte context: https://storybook.js.org/addons/@storybook/addon-toolbars

@j3rem1e j3rem1e added minor Increment the minor version when merged patch Increment the patch version when merged and removed minor Increment the minor version when merged labels Apr 8, 2022
@j3rem1e j3rem1e merged commit 4c52bc7 into storybookjs:main Apr 8, 2022
@shilman
Copy link
Member

shilman commented Apr 8, 2022

🚀 PR was released in v1.1.2 🚀

@shilman shilman added the released This issue/pull request has been released. label Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generating Story with {#each} block
3 participants