abradley2 / form-elements / FormElements.CheckBox

A simple checkbox

Definitions

view : Props a -> Html a

The view for displaying the element.


type alias Props a =
{ selected : Basics.Bool
, label : String
, handleToggle : Basics.Bool -> a 
}

Configurable properties for rendering the view