lenards/elm-ui-patternfly/4.0.1

NOTE: the latest version is 4.0.2

PF6.Hint

PF6 Hint component

A contextual hint with lighter styling than an Alert. Used to provide supplemental information or guidance without the urgency of an alert.

See: https://www.patternfly.org/components/hint

Definition

type Hint msg

Opaque Hint type

Constructor

hint : String -> Hint msg

Construct a Hint with body text

hint "Try using the search bar to find items quickly."

Modifiers

withTitle : String -> Hint msg -> Hint msg

Add a title above the hint body

withActions : Element msg -> Hint msg -> Hint msg

Add action elements (e.g. buttons) to the hint

withFooter : Element msg -> Hint msg -> Hint msg

Add footer content below the hint body

Rendering

toMarkup : Theme -> Hint msg -> Element msg

Render the Hint as an Element msg