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
Is your feature request related to a problem? Please describe.
When using the docs feature instead of the addon-info, we have sub components in one story that have different prop types but need to be self contained into one story since they cannot exist without eachout. For Example, our Accordion is broken up into a header and body.
When we put this in a story only the table shows for the Accordion but we want to also display the props and types of them for Header and Body. Im not sure if this exists currently but I couldnt find an example or documentation on this.
Describe the solution you'd like
Ideally there would be a way to pass additional components to be documented outside of the export default { title: "Accordion", component: Accordion}; So that I could add components in specific stories to display or at the top for this accordion one to display for each of the children components.
Describe alternatives you've considered
We currently use addon-info which provides this functionality. We are using CSF now that we converted from storiesOf
Are you able to assist bring the feature to reality?
Possibly depending on the solution
Additional context
We have multiple use cases for this so this would prevent us from converting to docs which we would ideally like to do based on our discussion with Chromatic.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When using the docs feature instead of the addon-info, we have sub components in one story that have different prop types but need to be self contained into one story since they cannot exist without eachout. For Example, our Accordion is broken up into a header and body.
When we put this in a story only the table shows for the Accordion but we want to also display the props and types of them for Header and Body. Im not sure if this exists currently but I couldnt find an example or documentation on this.
Describe the solution you'd like
Ideally there would be a way to pass additional components to be documented outside of the export default { title: "Accordion", component: Accordion}; So that I could add components in specific stories to display or at the top for this accordion one to display for each of the children components.
Describe alternatives you've considered
We currently use addon-info which provides this functionality. We are using CSF now that we converted from storiesOf
Are you able to assist bring the feature to reality?
Possibly depending on the solution
Additional context
We have multiple use cases for this so this would prevent us from converting to docs which we would ideally like to do based on our discussion with Chromatic.
The text was updated successfully, but these errors were encountered: