mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 00:42:29 +03:00
Adds heading preview
This commit is contained in:
parent
700f269eed
commit
d3077d875c
@ -35,7 +35,12 @@ example =
|
||||
, state = ()
|
||||
, update = \_ state -> ( state, Cmd.none )
|
||||
, subscriptions = \_ -> Sub.none
|
||||
, preview = []
|
||||
, preview =
|
||||
[ Heading.h1 [] [ Html.text "h1" ]
|
||||
, Heading.h2 [] [ Html.text "h2" ]
|
||||
, Heading.h3 [] [ Html.text "h3" ]
|
||||
, Heading.h4 [] [ Html.text "h4" ]
|
||||
]
|
||||
, view =
|
||||
\_ ->
|
||||
[ Heading.h1 [] [ Html.text "This is the main page heading." ]
|
||||
|
Loading…
Reference in New Issue
Block a user