A simple on/off switch. Use for cases where the user has one option out of a binary selection
view : Props a -> Html a
The view for displaying the element.
{ isOn : Basics.Bool
, label : String
, handleToggle : Basics.Bool -> a
}
Configurable properties for rendering the view