noredink-ui/styleguide-app/Examples/Text/Writing.elm
Luke Westby c1ff19f0d0
Add Html.Styled versions for everything (#139)
* make html.styled versions of remaining widgets

* upgrade all the examples

* change license name
2018-10-23 09:55:30 -07:00

29 lines
820 B
Elm

module Examples.Text.Writing exposing (example)
{- \
@docs example
-}
import Html.Styled exposing (text)
import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
import Nri.Ui.Text.Writing.V1 as TextWriting
{-| -}
example : ModuleExample msg
example =
{ filename = "Nri.Ui.Text.Writing.V1.elm"
, category = TextWriting
, content =
let
longerBody =
"""Be on the lookout for a new and improved assignment
creation form! Soon, you'll be able to easily see a summary
of the content you're assigning, as well as an estimate for
how long the assignment will take.
"""
in
[ TextWriting.footnote [ text <| "This is a footnote. " ++ longerBody ]
]
}