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
|**isChecked**|**boolean**|**undefined**|**if you want to control check state yourself, you can use `isChecked` prop now!**|
110
+
|**isChecked**|**boolean**|**undefined**|**if you want to control check state yourself, you can use `isChecked` prop now!**|
85
111
| onPress | function | null | set your own onPress functionality after the bounce effect, callback receives the next `isChecked` boolean if disableBuiltInState is false |
86
112
| onLongPress | function | null | set your own onLongPress functionality after the bounce effect, callback receives the next `isChecked` boolean if disableBuiltInState is false |
87
113
| text | string | undefined | set the checkbox's text |
88
114
| textComponent | component | undefined | set the checkbox's text by a React Component |
89
115
| disableText | boolean | false | if you want to use checkbox without text, you can enable it |
116
+
| useBuiltInState | boolean | false | to fully control the checkbox itself outside with your own state, just set to `false` and send your state value to `isChecked` prop |
90
117
| size | number | 25 | size of `width` and `height` of the checkbox |
0 commit comments