I use controls in a story to see different states of a component.
Some props only make sense if some other prop is enabled.
For example, I have 3 props:
- isEmployee – boolean
- isActive – boolean
- canContactInTheWeekend – boolean
canContactInTheWeekend applies only if
To make it more clear for a developer, I’d like to disable
canContactInTheWeekend toggle when
How can I achieve it with standard Storybook setup or via some plugins?