-
Notifications
You must be signed in to change notification settings - Fork 673
Conversation
Deploy preview for saleor-storefront-stage processing. Building with commit cc20b22 https://app.netlify.com/sites/saleor-storefront-stage/deploys/5e53a5caba61eb0008c35528 |
I think CSF and MDX are much more readable than the chained call syntax of |
We are already using We already have different conventions in storefront in many areas and we cant handle those with our manpower so lets not give ourselves another thing to work on. |
We might use |
Updated storybook
Changes:
Story definition
There are two possible ways to define story:
To show props of component in docs we have to pass component reference as:
component: Button
in addParameters function with storyOf APIcomponent: Button
in default export with CSFWe may also use
storiesof-to-csf
orcsf-to-mdx
codemods to convert all stories between formats.Component documentation
To describe component and its props we have to write comments: