@colisweb/rescript-toolkit 3.5.2 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -705,10 +705,8 @@ module Make = (StateLenses: Config) => {
|
|
|
705
705
|
<Form.Field
|
|
706
706
|
field
|
|
707
707
|
render={({handleChange, value}) => <>
|
|
708
|
-
{label->Option.mapWithDefault(React.null, label =>
|
|
709
|
-
<Toolkit__Ui_Label htmlFor=id> label </Toolkit__Ui_Label>
|
|
710
|
-
)}
|
|
711
708
|
<Toolkit__Ui_Switch
|
|
709
|
+
?label
|
|
712
710
|
onChange={value => handleChange(value)}
|
|
713
711
|
name=id
|
|
714
712
|
checked=value
|