You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`value`| The value of the checkbox. If true the checkbox will be turned on. Default value is false. | boolean | No | Android、iOS | yes |
224
+
|`testID`| Used to locate this view in end-to-end tests. | string | No | Android、iOS | yes |
225
+
|`disabled`| If true the user won't be able to toggle the checkbox. Default value is false. | bool | No | Android、iOS | yes |
226
+
|`onCheckColor`| Color of the check box when it is selected. | Color | No | iOS | yes |
227
+
|`tintColor`| Border color of the check box when it is not selected. | Color | No | iOS | yes |
228
+
|`shape`| Sets component shapes, including circles and rounded squares. Default value is 0. | int | No | harmony | yes |
229
+
|`markSize`| Size of the internal mark. The default size is the same as the width of the check box.This parameter cannot be set in percentage. If it is set to an invalid value, the default value is used. | number | No | harmony | yes |
230
+
|`strokeWidth`| Stroke width of the internal mark. This parameter cannot be set in percentage. If it is set to an invalid value, the default value is used. | number | No | harmony | yes |
231
+
|`strokeColor`| Color of the internal mark. | Color | No | harmony | yes |
232
+
|`lineWidth`| The width of the lines of the check mark and box. Defaults to 2.0. | number | No | iOS | No |
233
+
|`hideBox`| Control if the box should be hidden or not. Defaults to false. | boolean | No | iOS | No |
234
+
|`onFillColor`| The color of the inside of the box when it is On. Defaults to transparent. | string | No | iOS | No |
235
+
|`onTintColor`| The color of the line around the box when it is On. Defaults to '#007aff'. | string | No | iOS | No |
236
+
|`animationDuration`| The duration in seconds of the animations. Defaults to 0.5. | number | No | iOS | No |
237
+
|`onAnimationType`| The type of animation to use when the checkbox gets checked. Default to 'stroke'. | 'stroke' or 'fill' or 'bounce' or 'flat' or 'one-stroke' or 'fade' | No | iOS | No |
238
+
|`offAnimationType`| The type of animation to use when the checkbox gets unchecked. 'stroke'. | 'stroke' or 'fill' or 'bounce' or 'flat' or 'one-stroke' or 'fade' | No | iOS | No |
|`onChange`| Invoked on change with the native event. | function | No | All | yes |
215
-
|`onValueChange`| Invoked with the new boolean value when it changes. | function | No | All | yes |
216
-
|`value`| The value of the checkbox. If true the checkbox will be turned on. Default value is false. | boolean | No | All | yes |
217
-
|`testID`| Used to locate this view in end-to-end tests. | string | No | All | yes |
218
-
|`disabled`| If true the user won't be able to toggle the checkbox. Default value is false. | bool | No | All | yes |
219
-
|`onCheckColor`| Color of the check box when it is selected. | Color | No | ios & harmony | yes |
220
-
|`tintColor`| Border color of the check box when it is not selected. | Color | No | ios & harmony | yes |
221
-
|`shape`| Sets component shapes, including circles and rounded squares. Default value is 0. | int | No | harmony | yes |
222
-
|`markSize`| Size of the internal mark. The default size is the same as the width of the check box.This parameter cannot be set in percentage. If it is set to an invalid value, the default value is used. | number | No | harmony | yes |
223
-
|`strokeWidth`| Stroke width of the internal mark. This parameter cannot be set in percentage. If it is set to an invalid value, the default value is used. | number | No | harmony | yes |
224
-
|`strokeColor`| Color of the internal mark. | Color | No | harmony | yes |
247
+
|`onChange`| Invoked on change with the native event. | function | No | Android、iOS | yes |
248
+
|`onValueChange`| Invoked with the new boolean value when it changes. | function | No | Android、iOS | yes |
0 commit comments