Skip to content

Commit 80a2e49

Browse files
committed
fix: description prop logic is fixing
1 parent fc6937f commit 80a2e49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/CheckboxFlex.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default class CheckboxFlex extends React.Component<
138138
};
139139

140140
renderDescription = () => {
141-
if (this.props.description) return null;
141+
if (!this.props.description) return null;
142142
else
143143
return (
144144
<View

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-checkbox-flex",
3-
"version": "0.1.10",
3+
"version": "0.1.11",
44
"description": "Fully customizable, easy to use checkbox with flexible component by React Native on Android and iOS",
55
"main": "./build/dist/CheckboxFlex.js",
66
"repository": "git@github.com:WrathChaos/react-native-checkbox-flex.git",

0 commit comments

Comments
 (0)