nsbno/spor-elm/3.0.0

NOTE: the latest version is 4.0.3

Spor.LineTag.TravelTag

A component for displaying travel tags

A component for displaying travel tags

Config

Create an initial configuration for a TravelTag component.

Set the variant

Set the size

Set the title to be displayed

withDescription : Maybe String -> TravelTag -> TravelTag

Set the description to be displayed

Set the deviation level

withColor : Maybe Color -> TravelTag -> TravelTag

Set the color

Set the background color

Display

toHtml : TravelTag -> Html a

Convert configuration to HTML