We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7590be0 commit e28bb0aCopy full SHA for e28bb0a
lib/src/BouncyCheckbox.js
@@ -32,7 +32,7 @@ class BouncyCheckbox extends Component {
32
friction: 3
33
}).start();
34
// Outside of the onPress function
35
- if (onPress) onPress();
+ if (onPress) onPress(this.state.checked);
36
};
37
38
renderCheckIcon = () => {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-bouncy-checkbox",
3
- "version": "0.0.3",
+ "version": "0.0.4",
4
"description": "Fully customizable animated bouncy checkbox for React Native",
5
"keywords": [
6
"bouncy",
0 commit comments