diff --git a/src/components/checkbox/index.tsx b/src/components/checkbox/index.tsx index 90c4f457a4..9a14373fe0 100644 --- a/src/components/checkbox/index.tsx +++ b/src/components/checkbox/index.tsx @@ -17,6 +17,7 @@ import TouchableOpacity from '../touchableOpacity'; import Text, {TextProps} from '../text'; import View from '../view'; import Icon from '../icon'; +import Constants from '../../commons/Constants'; const DEFAULT_SIZE = 24; const DEFAULT_COLOR = Colors.$backgroundPrimaryHeavy; @@ -287,7 +288,7 @@ class Checkbox extends Component { const {label, labelStyle, containerStyle, labelProps, testID} = this.props; return label ? ( - + {this.renderCheckbox()} {label}