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

Portable stories - Create compose functions for Nextjs #25880

Closed
Tracked by #25875
yannbf opened this issue Feb 2, 2024 · 0 comments
Closed
Tracked by #25875

Portable stories - Create compose functions for Nextjs #25880

yannbf opened this issue Feb 2, 2024 · 0 comments

Comments

@yannbf
Copy link
Member

yannbf commented Feb 2, 2024

Currently there are testing APIs (composeStory, composeStories, setProjectAnnotations) for React and Vue3, but not for other Nextjs.

Here's a reference on how it's done for Vue3:
https://github.com/storybookjs/storybook/blob/4a6df46b1ab32fa9f8c2b82703a235b158460b14/code/renderers/vue3/src/testing-api.ts

And React:
https://github.com/storybookjs/storybook/blob/645439adfbb543b5dadb28a471f2da7166c1c6b1/code/renderers/react/src/testing-api.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant