nsbno / spor-elm / Spor.LineTag.LineIcon

A component for displaying line icons


type LineIcon

A component for displaying line icons

Config

init : LineIcon

Create an initial configuration for a LineIcon component.

withVariant : Spor.LineTag.Types.Variant -> LineIcon -> LineIcon

Set the variant

withSize : Spor.LineTag.Types.Size -> LineIcon -> LineIcon

Set the size

withAdditionalStyle : Css.Style -> LineIcon -> LineIcon

Set the additonal style

withColor : Maybe Css.Color -> LineIcon -> LineIcon

Set the colour

Display

toHtml : LineIcon -> Html.Styled.Html a

Convert configuration to HTML