Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
y047aka committed Feb 11, 2024
1 parent 859dbe3 commit 5137518
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package/src/Emaki/Control.elm
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ boolAndString =


field : String -> Control msg -> Control msg
field label props =
Field label props
field label control =
Field label control


customize : Html msg -> Control msg
Expand All @@ -136,8 +136,8 @@ customize =


render : Control msg -> Html msg
render props =
case props of
render control =
case control of
Comment str ->
div
[ css
Expand Down Expand Up @@ -270,7 +270,7 @@ render props =
[]
]

Field label ps ->
Field label cntl ->
div
[ css
[ display grid
Expand All @@ -280,7 +280,7 @@ render props =
]
]
[ Html.label [] [ text label ]
, render ps
, render cntl
]

Customize view ->
Expand Down

0 comments on commit 5137518

Please sign in to comment.