primait/pyxis-components/1.0.0

NOTE: the latest version is 9.0.3

Prima.Pyxis.Message.Message

Creates a Message component by using predefined Html syntax.

#Configuration

type Config msg

Represents the config of a Message

#Configuration Helpers

messageErrorConfig : List (Html msg) -> Config msg

Defines the configuration of an Error message.

messageInfoConfig : List (Html msg) -> Config msg

Defines the configuration of an Info message.

messageSuccessConfig : List (Html msg) -> Config msg

Defines the configuration of a Success message.

#Render

render : Config msg -> Html msg

Renders the Message by receiving it's Config.