Replies: 1 comment
-
Args currently need to be JSON serializable so you'll need to do something like this https://storybook.js.org/docs/react/essentials/controls#fully-custom-args |
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
Uh oh!
There was an error while loading. Please reload this page.
-
So I have a story in storybook like so:
Say the
Standard.args
I'm getting look like this:I'd like to be able to set the
detailText
value using a distinct arg, but don't know of a way to do it. Something like the below, but obviously with working syntax:Is this possible? Here's the SO if anyone wants points.
Beta Was this translation helpful? Give feedback.
All reactions