I added a CheckBox and ReactNative got the error
Render error: requireNativeComponent: "AndroidChecBox" was not found in the UIManager,
please help me troubleshoot where I wrote it wrong ? this is my code
import CheckBox from '@react-native-community/checkbox';
const [isCheck, setCheckBox] = useState(false);
Remember me
Forgot password ?
Dong Lam TrienPosted Jun 12, 2024, 1:43 AM
This checkBox library is not compatible with .js extension ?
Jayraj ChhayaPosted Jun 10, 2024, 1:07 PM
The error message "requireNativeComponent: 'AndroidChecBox' was not found in the UIManager" indicates a problem with the component name. The correct component name is 'CheckBox' in React Native, not 'AndroidChecBox'. To resolve this issue, ensure that you are importing the CheckBox component correctly from '@react-native-community/checkbox'.