carboncloud / ui-library / Ui.Text

Text

This module defines components that has to do with our text.

#

Styled components

view : Ui.TextStyle.TextStyle -> String -> Html.Styled.Html msg

Returns a text view This is preferred over customView when no custom styling is needed

customView : List (Html.Styled.Attribute msg) -> Ui.TextStyle.TextStyle -> String -> Html.Styled.Html msg

Returns a custom text view

paragraph : String -> Html.Styled.Html msg

customParagraph : Ui.TextStyle.TextStyle -> String -> Html.Styled.Html msg