-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
I think we need a better way/workflow to demo Components. Some components can be easily demoed with just the fixtures. But some depend on sibling/child components (Tab/TabPane, Accordion/AccordionPane, RadioList/Radio) etc...
Now we pick up all Components and fixtures. So if there is a Demo Component AND a fixture for it we display it. BUT the docs are then from the Demo Component and not the actual Component you are demoing.
We could do some auto-detecting of demo Components with some naming convention so
Accordion.js
AccordionPane.js
AccordionDemo.js
// or ---
Radio.js
RadioList.js
RadioList-demo.js
Then we would attach the demo info to the Component when we are fetching all the Components on start
I'll add to this when I think of something