2019-10-01 03:30:35 +03:00
|
|
|
module Examples.AssignmentIcon exposing (example)
|
|
|
|
|
|
|
|
{-|
|
|
|
|
|
|
|
|
@docs example, styles
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
2019-10-01 19:04:33 +03:00
|
|
|
import Examples.IconExamples as IconExamples
|
2019-10-01 03:30:35 +03:00
|
|
|
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 =
|
2019-10-01 19:04:33 +03:00
|
|
|
[ (IconExamples.view "Assignment Icons" << List.map (Tuple.mapSecond Svg.toHtml))
|
2019-10-01 19:02:06 +03:00
|
|
|
[ ( "diagnostic", AssignmentIcon.diagnostic )
|
|
|
|
, ( "practice", AssignmentIcon.practice )
|
|
|
|
, ( "quiz", AssignmentIcon.quiz )
|
|
|
|
, ( "quickWrite", AssignmentIcon.quickWrite )
|
|
|
|
, ( "guidedDraft", AssignmentIcon.guidedDraft )
|
|
|
|
, ( "peerReview", AssignmentIcon.peerReview )
|
|
|
|
, ( "selfReview", AssignmentIcon.selfReview )
|
2019-10-01 03:30:35 +03:00
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|