Bulma.Components.Message
Bulma message component
root : List (Attribute msg) -> List (Html msg) -> Html msg
body : List (Attribute msg) -> List (Html msg) -> Html msg
header : List (Attribute msg) -> List (Html msg) -> Html msg
module Bulma.Components.Message
exposing
( root
, body
, header
)
{-| [Bulma message component](http://bulma.io/documentation/components/message/)
@docs root, body, header
-}
import Bulma.Util exposing (bulmaNode)
import Html exposing (Html, Attribute, div)
{-| [`<article class="message">`](http://bulma.io/documentation/components/message/)
-}
root : List (Attribute msg) -> List (Html msg) -> Html msg
root =
bulmaNode Html.article "message"
{-| [`<div class="message-body">`](http://bulma.io/documentation/components/message/)
-}
body : List (Attribute msg) -> List (Html msg) -> Html msg
body =
bulmaNode div "message-body"
{-| [`<article class="message-header">`](http://bulma.io/documentation/components/message/)
-}
header : List (Attribute msg) -> List (Html msg) -> Html msg
header =
bulmaNode div "message-header"