abradley2/form-elements/4.0.0

NOTE: the latest version is 4.1.2

FormElements.RadioButtons

A group of radio buttons

Definitions

view : Props x y -> Html y

The view for displaying the element.

type alias Props x y =
{ selected : x
, options : List ( String, x )
, onSelect : x -> y
}

Configurable properties for rendering the view