NoRedInk/noredink-ui/6.29.0

NOTE: the latest version is 35.9.3

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 6.29.0 found (15 same-name repos checked); no cached copy. Use another version.

Details

Nri.Ui.BannerAlert.V5

alert : BannerContent -> Maybe msg -> Html msg

A banner to show error alerts

error : BannerContent -> Maybe msg -> Html msg

A banner to show error alerts

neutral : BannerContent -> Maybe msg -> Html msg

A banner to show neutral alerts

success : BannerContent -> Maybe msg -> Html msg

A banner for success alerts

type alias LinkConfig =
{ prefixText : String
, linkText : String
, linkUrl : String
, postfixText : String
, target : Target
}

Config describing a message containing an embedded link.

= Plain String
| WithLink LinkConfig

A type to capture either plain content, or a string which will include a url link.

type Target
= Blank
| Self

The link target. Corresponds to values of "_blank" and "_self"