Skip to content

Add 'check' option in @storybook/addon-ondevice-controls #541

Description

@simonadenic

Is your feature request related to a problem? Please describe.
I have a need for a property to choose on/off from multiple options. Example: component has fontWeight property, which can be 'bold' or undefined. I need to have a selection between those two. This could only be properly represented by checking the 'bold' or unchecking it (as a value).

Describe the solution you'd like
I would like type:'check' in controls addon, just like on the web

Describe alternatives you've considered
I've considered using some of the options available such as 'select', but none of these match my use-case.

Are you able to assist bring the feature to reality?
No

Additional context
No additional context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions