Skip to content

Toggle style enhancements #50

@lucafalasco

Description

@lucafalasco

Would be super cool to have 5 possible inputs to pass:

  • width
  • height
  • default background color
  • active background color
  • toggle color

So that we can do easily this type of customization. The toggle size and its two positions (on/off) should then be dynamically calculated.
image
image

Nit on/off labels
IMG_A205294864F8-1

Originally posted by @aminalhazwani in #49 (comment)


Another point: would be maybe useful to add a LabeledToggle too.

Screen Recording 2020-09-10 at 15 44 20

Originally posted by @caesarsol in #49 (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