2020-04-09 01:13:06 +03:00
|
|
|
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)
|
2020-06-20 00:45:32 +03:00
|
|
|
import KeyboardSupport 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 =
|
2020-09-09 21:43:10 +03:00
|
|
|
{ name = "Divider"
|
|
|
|
, version = 2
|
2020-04-09 01:13:06 +03:00
|
|
|
, categories = [ Layout ]
|
2020-06-20 00:45:32 +03:00
|
|
|
, keyboardSupport = []
|
2020-04-09 01:13:06 +03:00
|
|
|
, state = {}
|
|
|
|
, update = \_ state -> ( state, Cmd.none )
|
|
|
|
, subscriptions = \_ -> Sub.none
|
2021-11-05 21:19:08 +03:00
|
|
|
, preview = []
|
2020-04-09 01:13:06 +03:00
|
|
|
, view = \state -> [ Divider.view "Dividing Line" ]
|
|
|
|
}
|