nathanjohnson320 / elm-ui-components / ElmUIC.Heading

A heading for your sections


type alias Heading =
{ text : Css.Color }

Base model for the heading

defaultHeading : Heading

Instantiates the default properties of the heading

{ defaultHeading | text = hex "#C00" }

heading : ElmUIC.Theme.Theme -> Heading -> List (Html.Styled.Attribute msg) -> List (Html.Styled.Html msg) -> Html.Styled.Html msg

A styled header

heading defaultTheme defaultHeading [] []