1.1.1 • Published 4 years ago
react-native-rotate-view v1.1.1
react-native-rotate-view
Rotate Anything you want.
Installation
npm i react-native-rotate-view
RotateView:
Prop | Type | Default | Description |
---|---|---|---|
rotate | bool | false | Change this variable to trigger rotation |
degree | string (number + 'deg') | '90deg' | Degree that the Animated.View will rotate to. (set negative to rotate backwards) |
duration | number | 100 | Time to run the animation |
initialDegree | string (number + 'deg') | '0deg' | Initial degree of the animation |
style | style | null | Style of the Animated.View |
children | Component | null | React Component to render inside the Animated.View |
onAnimationEnd | func | null | Callback when animation ends |