mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 06:02:36 +03:00
37 lines
626 B
Elm
37 lines
626 B
Elm
module Examples.Divider exposing (Msg, State, example)
|
|
|
|
{-|
|
|
|
|
@docs Msg, State, example
|
|
|
|
-}
|
|
|
|
import Category exposing (Category(..))
|
|
import Css
|
|
import Example exposing (Example)
|
|
import Html.Styled as Html
|
|
import Html.Styled.Attributes exposing (css)
|
|
import Nri.Ui.Divider.V2 as Divider
|
|
|
|
|
|
{-| -}
|
|
type alias State =
|
|
{}
|
|
|
|
|
|
{-| -}
|
|
type alias Msg =
|
|
()
|
|
|
|
|
|
{-| -}
|
|
example : Example State Msg
|
|
example =
|
|
{ name = "Nri.Ui.Divider.V2"
|
|
, categories = [ Layout ]
|
|
, state = {}
|
|
, update = \_ state -> ( state, Cmd.none )
|
|
, subscriptions = \_ -> Sub.none
|
|
, view = \state -> [ Divider.view "Dividing Line" ]
|
|
}
|