abradley2/form-elements/4.1.1

NOTE: the latest version is 4.1.2

FormElements.CheckBox

A simple checkbox

Definitions

view : Props a -> Html a

The view for displaying the element.

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

Configurable properties for rendering the view