Skip to content

Commit

Permalink
Remove the blank style setting from the example by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tesk9 committed Jan 16, 2024
1 parent a58ff1f commit a27b319
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions component-catalog/src/Examples/Block.elm
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ initControl : Control Settings
initControl =
ControlExtra.list
|> ControlExtra.optionalListItemDefaultChecked "content" controlContent
|> ControlExtra.optionalListItemDefaultChecked "blankStyle" blankStyleContent
|> ControlExtra.optionalListItem "blankStyle" blankStyleContent
|> ControlExtra.optionalBoolListItemDefaultChecked "emphasize" ( Code.fromModule moduleName "emphasize", Block.emphasize )
|> ControlExtra.optionalListItem "label"
(CommonControls.string ( Code.fromModule moduleName "label", Block.label ) "Fruit")
Expand Down Expand Up @@ -737,12 +737,12 @@ controlContent =
blankStyleContent : Control ( String, Block.Attribute msg )
blankStyleContent =
Control.choice
[ ( "Dashed"
, Control.value ( "Block.dashed", Block.dashed )
)
, ( "Underline"
[ ( "Underline"
, Control.value ( "Block.underline", Block.underline )
)
, ( "Dashed"
, Control.value ( "Block.dashed", Block.dashed )
)
]


Expand Down

0 comments on commit a27b319

Please sign in to comment.