#in storybook 7 how can you add more then one components with different argTypes on same story

6 messages · Page 1 of 1 (latest)

undone oar
#

Is there a way to add argTypes by storyObj so different components on the same story?

undone oar
#

Worked it out. I did not know argTypes API had changed. 😂

vale turret
#

Alright! You figured it out.

#

Can you help me with this?

#

guide on how to mock @aws-amplify/auth with storybook and msw

sacred summit
#

Would appreciate seeing how you worked this out. Seems like an interesting use case!

Also, I don't think the argTypes API has changed for a while. Looking at our migration guide, it looks like no changes since 6.3...