nsbno/spor-elm/3.0.5

NOTE: the latest version is 4.0.3

Spor.Text

A component for displaying text.

type Text

A component for displaying text.

Configuration

Create an initial config for the Text component. Defaults to the Medium text style, and no text.

Set the text style to use

withText : String -> Text -> Text

Set the text to be displayed

Set the additional style

Display

toHtml : Text -> Html a

Render Text component to Html