You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReactfrom'react'importwithMockfrom'storybook-addon-mock'importCycleCardfrom'./CycleCard'exportdefault{title: 'Settings/CycleCard',component: CycleCard,argTypes: {},decorators: [Story=>(<withMock> // I don't know exactly where to put the code in `.add` function
<Story/></withMock>),],}constTemplate=args=><CycleCard{...args}/>exportconstDefault=Template.bind({})Default.args={}
Is there documentation on this?
This code comes from this addon but I think you can help me better how to translate this code, as it's more a syntax difference than addon functionality
The text was updated successfully, but these errors were encountered:
What's the problem?
I have this code in my codebase and need to upgrade to Storybook's new format:
My code, right now is:
Is there documentation on this?
This code comes from this addon but I think you can help me better how to translate this code, as it's more a syntax difference than addon functionality
The text was updated successfully, but these errors were encountered: