Skip to content

Commit

Permalink
Merge pull request #111 from edsonjuniornarvaes/patch-1
Browse files Browse the repository at this point in the history
refactor: implements a check for the existence of the text
  • Loading branch information
WrathChaos authored Jul 16, 2022
2 parents 67857e6 + 99a8e8c commit 91aa009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BouncyCheckbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class BouncyCheckbox extends React.Component<IBouncyCheckboxProps, IState> {
} = this.props;
const { checked } = this.state;
return (
!disableText &&
!disableText || typeof disableText === "undefined" &&
(textComponent || (
<View style={[styles.textContainer, textContainerStyle]}>
<Text
Expand Down

0 comments on commit 91aa009

Please sign in to comment.