nsbno / spor-elm / Spor.LineTag.LineText

A component for displaying line text


type LineText

A component for displaying line text

Config

init : LineText

Create an initial configuration for a LineText component.

withTitle : String -> LineText -> LineText

Set the title to be displayed

withDescription : Maybe String -> LineText -> LineText

Set the text to be displayed

Display

toHtml : LineText -> Html.Styled.Html a

Convert configuration to HTML