I would like to use checkBox in my react nativem mobile app. I'm trying to using this community package :
https://github.com/react-native-checkbox/react-native-checkbox
But I got this error when I'm trying to use it in my app :
ERROR [Invariant Violation: requireNativeComponent: "RNCCheckbox" was not found in the UIManager.]
I correctly install the package but there is probably another problem.. There is my code :
<CheckBox
disabled={false}
value={selectedItems.includes(item)}
onValueChange={() => toggleSelection(item)}
/>
If someone could explain me another solutions or explain me where is the problem.
Aucun commentaire:
Enregistrer un commentaire