@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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -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