master of none

This commit is contained in:
Ben Dansby 2021-10-28 06:06:49 -07:00
parent 7d4961626f
commit c720f4f1c9
2 changed files with 0 additions and 69 deletions

View File

@ -17,7 +17,6 @@ import Examples.Fonts as Fonts
import Examples.Heading as Heading
import Examples.Loading as Loading
import Examples.Logo as Logo
import Examples.MasteryIcon as MasteryIcon
import Examples.Menu as Menu
import Examples.Message as Message
import Examples.Modal as Modal
@ -344,25 +343,6 @@ all =
LogoState childState ->
Just childState
_ ->
Nothing
)
, MasteryIcon.example
|> Example.wrapMsg MasteryIconMsg
(\msg ->
case msg of
MasteryIconMsg childMsg ->
Just childMsg
_ ->
Nothing
)
|> Example.wrapState MasteryIconState
(\msg ->
case msg of
MasteryIconState childState ->
Just childState
_ ->
Nothing
)
@ -785,7 +765,6 @@ type State
| HeadingState Heading.State
| LoadingState Loading.State
| LogoState Logo.State
| MasteryIconState MasteryIcon.State
| MenuState Menu.State
| MessageState Message.State
| ModalState Modal.State
@ -826,7 +805,6 @@ type Msg
| HeadingMsg Heading.Msg
| LoadingMsg Loading.Msg
| LogoMsg Logo.Msg
| MasteryIconMsg MasteryIcon.Msg
| MenuMsg Menu.Msg
| MessageMsg Message.Msg
| ModalMsg Modal.Msg

View File

@ -1,47 +0,0 @@
module Examples.MasteryIcon exposing (example, State, Msg)
{-|
@docs example, State, Msg
-}
import Category exposing (Category(..))
import Example exposing (Example)
import Examples.IconExamples as IconExamples
import KeyboardSupport exposing (Direction(..), Key(..))
import Nri.Ui.Colors.V1 as Colors
import Nri.Ui.MasteryIcon.V1 as MasteryIcon
{-| -}
type alias State =
()
{-| -}
type alias Msg =
()
{-| -}
example : Example State Msg
example =
{ name = "MasteryIcon"
, version = 1
, categories = [ Icons ]
, keyboardSupport = []
, state = ()
, update = \_ state -> ( state, Cmd.none )
, subscriptions = \_ -> Sub.none
, view =
\_ ->
[ IconExamples.view "Levels"
[ ( "levelZero", MasteryIcon.levelZero )
, ( "levelOne", MasteryIcon.levelOne )
, ( "levelTwo", MasteryIcon.levelTwo )
, ( "levelThree", MasteryIcon.levelThree )
, ( "levelFour", MasteryIcon.levelFour )
]
]
}