Knobs

boolean knob
string knob
number knob
range knob
  • Note that currently the range knob breaks when given negative default value (the regex parser needs improved if desiring to fix.)
color knob
  • If a 6 digit color hex beginning with a # is used as a knob value, a color picker will be shown.

Note:The Knobs component is not exported as they are part of the story component. If someone has a use case where this component should be exported, please create an issue.

Edit page on GitHub