lenards/elm-ui-patternfly/1.3.0

NOTE: the latest version is 4.0.2

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.

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.