lenards / elm-ui-patternfly / PF4.Info

An informational text element

Defintion


type Info msg

Opaque Info element that includes information text content

Constructor function

info : String -> Info msg

Constructs an Info element

Configuration functions

withTitle : String -> Info msg -> Info msg

Configures the Info element appear with title text above the content.

By default, Info has no title text.

withDefaultIcon : Info msg -> Info msg

Configures the Info element to appear with the default icon.

By default, Info will not render an icon.

Rendering element

toMarkup : Info msg -> Element msg

Given the custom type representation, renders as an Element msg.