Skip to content

Commit ba7ce1e

Browse files
committed
Version 0.2.2 base props are extends from TouchableWithoutFeedbackProps
1 parent cbcfcd6 commit ba7ce1e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/RNBounceable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ import {
55
Animated,
66
ViewStyle,
77
TouchableWithoutFeedback,
8+
TouchableWithoutFeedbackProps,
89
} from "react-native";
910

10-
export interface IProps {
11+
export interface IProps extends TouchableWithoutFeedbackProps {
1112
onPress?: () => void;
1213
bounceEffect?: number;
1314
bounceFriction?: number;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@freakycoder/react-native-bounceable",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Animate and bounce any component with RNBounceable for React Native",
55
"main": "./build/dist/RNBounceable.js",
66
"repository": "git@github.com:WrathChaos/react-native-bounceable.git",

0 commit comments

Comments
 (0)