Replies: 1 comment
-
I don't have a good solution but I am having the same issue attempting to use custom decorator-only args with Storybook v7 + CSF3. I was able to sidestep this by using a custom render: (args) =>
<>
<ContextProvider myProp={args.myCustomArg}>
<ComponentName />
</ContextProvider>
</> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have three themes that I transmit want to set globally in file
.storybook/preview.cjs
In my story I use the decorator with data-attribute to define the theme
I get an error when I try to create a story with the theme argument
Beta Was this translation helpful? Give feedback.
All reactions