mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-15 17:02:51 +03:00
28d36c6f64
This reverts commit4373c78d82
, reversing changes made to6b78075f02
.
29 lines
805 B
Elm
29 lines
805 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 =
|
|
{ name = "Nri.Ui.Text.Writing.V1"
|
|
, category = Text
|
|
, 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 ]
|
|
]
|
|
}
|