mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-18 19:21:29 +03:00
EVEN THO rats are excellent pets, removing them from these options because there's some vertical overwhelm
This commit is contained in:
parent
37706de125
commit
9234613c7b
@ -147,14 +147,12 @@ examples :
|
||||
examples selectionSettings =
|
||||
[ ( Dogs, selectionSettings.dogs )
|
||||
, ( Cats, selectionSettings.cats )
|
||||
, ( Rats, selectionSettings.rats )
|
||||
]
|
||||
|
||||
|
||||
type Selection
|
||||
= Dogs
|
||||
| Cats
|
||||
| Rats
|
||||
|
||||
|
||||
selectionToString : Selection -> String
|
||||
@ -166,9 +164,6 @@ selectionToString selection =
|
||||
Cats ->
|
||||
"Cats"
|
||||
|
||||
Rats ->
|
||||
"Rats"
|
||||
|
||||
|
||||
{-| -}
|
||||
type alias State =
|
||||
@ -190,7 +185,6 @@ init =
|
||||
type alias SelectionSettings =
|
||||
{ dogs : List ( String, RadioButton.Attribute Selection Msg )
|
||||
, cats : List ( String, RadioButton.Attribute Selection Msg )
|
||||
, rats : List ( String, RadioButton.Attribute Selection Msg )
|
||||
}
|
||||
|
||||
|
||||
@ -199,7 +193,6 @@ initSelectionSettings =
|
||||
Control.record SelectionSettings
|
||||
|> Control.field "Dogs" controlAttributes
|
||||
|> Control.field "Cats" controlAttributes
|
||||
|> Control.field "Rats" controlAttributes
|
||||
|
||||
|
||||
controlAttributes : Control (List ( String, RadioButton.Attribute Selection Msg ))
|
||||
|
Loading…
Reference in New Issue
Block a user