noredink-ui/styleguide-app/Examples/AssignmentIcon.elm

41 lines
1.3 KiB
Elm
Raw Normal View History

module Examples.AssignmentIcon exposing (example)
{-|
@docs example, styles
-}
import Examples.IconHelpers exposing (viewIconSection)
import ModuleExample exposing (Category(..), ModuleExample)
import Nri.Ui.AssignmentIcon.V1 as AssignmentIcon
import Nri.Ui.Colors.V1 as Colors
import Nri.Ui.Icon.V5 as Icon
import Nri.Ui.Svg.V1 as Svg
{-| -}
example : ModuleExample msg
example =
{ name = "Nri.Ui.AssignmentIcon.V1"
, category = Icons
, content =
[ viewIconSection "Quiz engine icons"
[ ( "diagnostic", Svg.toHtml AssignmentIcon.diagnostic )
, ( "practice", Svg.toHtml AssignmentIcon.practice )
, ( "quiz", Svg.toHtml AssignmentIcon.quiz )
]
, viewIconSection "Writing assignment icons"
[ ( "quickWrite", Svg.toHtml AssignmentIcon.quickWrite )
, ( "guidedDraft", Svg.toHtml AssignmentIcon.guidedDraft )
, ( "peerReview", Svg.toHtml AssignmentIcon.peerReview )
, ( "selfReview", Svg.toHtml AssignmentIcon.selfReview )
]
, viewIconSection "Peer Review sub-assignment icons"
2019-10-01 03:48:08 +03:00
[ ( "submitting", Svg.toHtml AssignmentIcon.submitting )
2019-10-01 03:50:19 +03:00
, ( "rating", Svg.toHtml AssignmentIcon.rating )
2019-10-01 03:53:34 +03:00
, ( "revising", Svg.toHtml AssignmentIcon.revising )
2019-10-01 03:48:08 +03:00
]
]
}