2019-10-01 03:30:35 +03:00
|
|
|
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 =
|
2019-10-01 19:02:06 +03:00
|
|
|
[ (viewIconSection "Assignment Icons" << List.map (Tuple.mapSecond Svg.toHtml))
|
|
|
|
[ ( "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
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|