We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 482620f commit cbcfcd6Copy full SHA for cbcfcd6
lib/RNBounceable.tsx
@@ -8,12 +8,12 @@ import {
8
} from "react-native";
9
10
export interface IProps {
11
- style?: ViewStyle;
12
onPress?: () => void;
13
bounceEffect?: number;
14
bounceFriction?: number;
15
useNativeDriver?: boolean;
16
children?: React.ReactNode;
+ style?: ViewStyle | Array<ViewStyle>;
17
}
18
19
interface IState {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@freakycoder/react-native-bounceable",
3
- "version": "0.2.0",
+ "version": "0.2.1",
4
"description": "Animate and bounce any component with RNBounceable for React Native",
5
"main": "./build/dist/RNBounceable.js",
6
"repository": "git@github.com:WrathChaos/react-native-bounceable.git",
0 commit comments