abradley2 / form-elements / 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