nsbno/spor-elm/1.0.1

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

withString : String -> Text -> Text

Set the text to be displayed

Display

toHtml : Text -> Html a

Render Text component to Html