nathanjohnson320 / elm-ui-components / ElmUIC.Button

A styled button


type alias Button =
{ kind : ElmUIC.Theme.ColorSetting
, size : ElmUIC.Theme.Size
, text : Css.Color 
}

Base model for a button

defaultButton : Button

Instantiates the default properties of a button

{ defaultButton | text = hex "#000" }

button : ElmUIC.Theme.Theme -> Button -> List (Html.Styled.Attribute msg) -> List (Html.Styled.Html msg) -> Html.Styled.Html msg

A styled button

button defaultTheme defaultButton [] []