2018-03-02 00:34:44 +03:00
|
|
|
module Examples.Text.Writing exposing (example)
|
2018-03-01 01:04:22 +03:00
|
|
|
|
|
|
|
{- \
|
|
|
|
@docs example
|
|
|
|
-}
|
|
|
|
|
2018-10-23 19:55:30 +03:00
|
|
|
import Html.Styled exposing (text)
|
2018-03-01 01:04:22 +03:00
|
|
|
import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
|
2018-03-02 00:34:44 +03:00
|
|
|
import Nri.Ui.Text.Writing.V1 as TextWriting
|
2018-03-01 01:04:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
{-| -}
|
|
|
|
example : ModuleExample msg
|
|
|
|
example =
|
2019-05-03 19:56:43 +03:00
|
|
|
{ name = "Nri.Ui.Text.Writing.V1"
|
2019-05-03 18:59:26 +03:00
|
|
|
, category = Text
|
2018-03-01 01:04:22 +03:00
|
|
|
, 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
|
2018-03-02 00:34:44 +03:00
|
|
|
[ TextWriting.footnote [ text <| "This is a footnote. " ++ longerBody ]
|
2018-03-01 01:04:22 +03:00
|
|
|
]
|
|
|
|
}
|