motion-on-native 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/package.json +17 -7
package/README.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Motion on Native
|
|
2
2
|
|
|
3
3
|
Framer Motion-like animations for React Native using Reanimated.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install motion-on-native
|
|
9
9
|
# or
|
|
10
|
-
yarn add
|
|
10
|
+
yarn add motion-on-native
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Prerequisites
|
|
14
14
|
|
|
15
15
|
This package requires:
|
|
16
|
+
|
|
16
17
|
- `react-native-reanimated` >= 3.0.0
|
|
17
18
|
- `react-native` >= 0.60.0
|
|
18
19
|
- `react` >= 16.8.0
|
|
@@ -20,7 +21,7 @@ This package requires:
|
|
|
20
21
|
## Usage
|
|
21
22
|
|
|
22
23
|
```tsx
|
|
23
|
-
import { NativeMotion } from '
|
|
24
|
+
import { NativeMotion } from 'motion-on-native';
|
|
24
25
|
|
|
25
26
|
// Basic animation
|
|
26
27
|
<NativeMotion.View
|
|
@@ -76,4 +77,4 @@ transition={{ type: 'timing', duration: 300 }}
|
|
|
76
77
|
|
|
77
78
|
## License
|
|
78
79
|
|
|
79
|
-
MIT
|
|
80
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motion-on-native",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Framer Motion-
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Framer Motion-inspired animation library for React Native with Reanimated. Easy spring animations, gestures, and transitions for mobile apps.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -11,10 +11,20 @@
|
|
|
11
11
|
},
|
|
12
12
|
"keywords": [
|
|
13
13
|
"react-native",
|
|
14
|
-
"animation",
|
|
15
14
|
"framer-motion",
|
|
15
|
+
"animation",
|
|
16
16
|
"reanimated",
|
|
17
|
-
"motion"
|
|
17
|
+
"motion",
|
|
18
|
+
"spring-animation",
|
|
19
|
+
"mobile-animation",
|
|
20
|
+
"react-native-animation",
|
|
21
|
+
"gesture",
|
|
22
|
+
"transition",
|
|
23
|
+
"ui-animation",
|
|
24
|
+
"native-animation",
|
|
25
|
+
"ios",
|
|
26
|
+
"android",
|
|
27
|
+
"typescript"
|
|
18
28
|
],
|
|
19
29
|
"author": "Mohd Bilal",
|
|
20
30
|
"license": "MIT",
|
|
@@ -34,10 +44,10 @@
|
|
|
34
44
|
],
|
|
35
45
|
"repository": {
|
|
36
46
|
"type": "git",
|
|
37
|
-
"url": "https://github.com/mohd-Bilal-exe/native
|
|
47
|
+
"url": "https://github.com/mohd-Bilal-exe/motion-on-native.git"
|
|
38
48
|
},
|
|
39
49
|
"bugs": {
|
|
40
|
-
"url": "https://github.com/mohd-Bilal-exe/native
|
|
50
|
+
"url": "https://github.com/mohd-Bilal-exe/motion-on-native/issues"
|
|
41
51
|
},
|
|
42
|
-
"homepage": "https://github.com/mohd-Bilal-exe/native
|
|
52
|
+
"homepage": "https://github.com/mohd-Bilal-exe/motion-on-native#readme"
|
|
43
53
|
}
|