Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Storybook: Add radiocontrol component #18474
I debated including knobs for this one, but there wasn't really any options besides changes the text and number of options being shown. I wasn't sure how useful for understanding the component is by adding different text and/or more or less options.
The with or without help seems to be the only option, and there is another variant story for that.
@mkaz Thank you for adding this Story!
The only label I can think of would be a
I wish we could set up a knob that syncs better with component state. For example, if you have a knob to control the
Yes, this is a known limitation of using
I didn't mark it as a blocker because I still don't have a good sense of what we should be integrated with knobs. It feels like it should cover as much as possible, but it produces duplication when you want tot to include several examples. Thinking about it a bit more, how about we spend less time on it until we have all UI components exposed in Storybook and then revisit it by doing one pass? I have a hunch that we might also take a unified approach and do the following: