peterszerzo/elm-natural-ui/3.0.0

NOTE: this package is not compatible with Elm 0.19.1

NaturalUi.Select

Select component

type alias Config msg =
{ data : String
, help : Maybe String
, label : String
, options : List String
, htmlAttrs : List (Attribute msg)
, toMsg : Maybe (State -> Data -> msg)
}

Config

view : Config msg -> Html msg

View

styles : List Snippet

Styles

getConfig : List (Setting State Data msg) -> Config msg

Get configuration from a list of settings