import React, { FC } from 'react'; import Checkbox from 'expo-checkbox'; import { Text, View } from 'react-native'; import { Colors } from '../../theme'; import { styles } from './styles'; type Props = { onChange?: (value: boolean) => void; value?: boolean; label?: string; color?: string; disabled?: boolean; }; export const CheckBox: FC = ({ value, onChange, label, color, disabled }) => { return ( {label ? {label} : null} ); };