nsbno/spor-elm/3.0.1

NOTE: the latest version is 4.0.3

Spor.LineTag.InfoTag

A component for displaying info tags

type InfoTag

A component for displaying info tags

Config

Create an initial configuration for a InfoTag component.

Set the variant

Set the size

withTitle : String -> InfoTag -> InfoTag

Set the title to be displayed

withDescription : Maybe String -> InfoTag -> InfoTag

Set the description to be displayed

withColor : Maybe Color -> InfoTag -> InfoTag

Set the color

Display

toHtml : InfoTag -> Html a

Convert configuration to HTML