Skip to content

Commit 9d7a649

Browse files
alltonpMoOx
andauthored
Fix some iOS props (#5)
* Update package.json * make it work for 0.4.1 * add ios specific bindings * Update src/ReactNativeCheckbox.re Co-authored-by: Max Thirouin <git@moox.io>
1 parent 2ee8a22 commit 9d7a649

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/ReactNativeCheckbox.re

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ type checkBoxEvent =
1616
external make:
1717
(
1818
~ref: ref=?,
19-
// CheckBox props
20-
~disabled: bool=?,
19+
// CheckBox common props
2120
~onChange: checkBoxEvent => unit=?,
2221
~onValueChange: bool => unit=?,
2322
~value: bool=?,
2423
// CheckBox Android props
2524
~disabled: bool=?,
2625
~tintColors: tintColors=?,
2726
// CheckBox iOS props
28-
~lineWidth: bool=?,
27+
~lineWidth: float=?,
2928
~hideBox: bool=?,
3029
~boxType: [@bs.string] [ | `circle | `square]=?,
3130
~tintColor: Color.t=?,
@@ -39,7 +38,7 @@ external make:
3938
| `bounce
4039
| `flat
4140
| [@bs.as "one-stroke"] `oneStroke
42-
| `fade'
41+
| `fade
4342
]
4443
=?,
4544
~offAnimationType: [@bs.string] [
@@ -48,7 +47,7 @@ external make:
4847
| `bounce
4948
| `flat
5049
| [@bs.as "one-stroke"] `oneStroke
51-
| `fade'
50+
| `fade
5251
]
5352
=?,
5453
// View props

0 commit comments

Comments
 (0)