noredink-ui/styleguide-app/Examples/Divider.elm

41 lines
800 B
Elm
Raw Normal View History

2020-04-09 01:13:06 +03:00
module Examples.Divider exposing (Msg, State, example)
{-|
@docs Msg, State, example
-}
2020-06-19 23:41:28 +03:00
import AtomicDesignType exposing (AtomicDesignType(..))
2020-04-09 01:13:06 +03:00
import Category exposing (Category(..))
import Css
import Example exposing (Example)
import Html.Styled as Html
import Html.Styled.Attributes exposing (css)
import KeyboardShortcuts exposing (Direction(..), Key(..))
2020-04-09 01:13:06 +03:00
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 ]
2020-06-20 00:16:10 +03:00
, atomicDesignType = Atom
, keyboardShortcuts = []
2020-04-09 01:13:06 +03:00
, state = {}
, update = \_ state -> ( state, Cmd.none )
, subscriptions = \_ -> Sub.none
, view = \state -> [ Divider.view "Dividing Line" ]
}