Skip to content

Commit 62a38e8

Browse files
committed
Upgrade to latest react and react-native
1 parent c37f0be commit 62a38e8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ You can pass a few props to configure the outcome a little:
5353
### dots
5454

5555
```js
56-
@type {Number}
56+
@type Number
5757
default 4
5858
```
5959

@@ -62,7 +62,7 @@ This prop will change the number of dots that will be displayed in the animation
6262
### colors
6363

6464
```js
65-
@type {String[]}
65+
@type String[]
6666
default ["#4dabf7", "#3bc9db", "#38d9a9", "#69db7c"]
6767
```
6868

@@ -71,24 +71,24 @@ This prop will change the color of the dots in the given array order. If you dec
7171
### size
7272

7373
```js
74-
@type {Number}
74+
@type Number
7575
default 20
7676
```
7777

7878
This prop will control the size of each dot that will be displayed for the animation.
7979

80-
### borderRadius
80+
### borderRadius
8181

8282
```
83-
@type {Number}
83+
@type Number
8484
```
8585

8686
This prop will control the border radius of the dots in case you want a specific amount of border radius. If you don't fill this prop it will use a rounded border radius with the formula: `size / 2`.
8787

8888
### bounceHeight
8989

9090
```js
91-
@type {Number}
91+
@type Number
9292
default 20
9393
```
9494

@@ -97,7 +97,7 @@ This prop will control the height of the bouncing for the loading dots. The high
9797
### components
9898

9999
```js
100-
@type {React.ReactNode}
100+
@type React.ReactNode[]
101101
default null
102102
```
103103

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "react-native-loading-dots",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "A React Native loading component with dots or custom components and smooth animation",
55
"repository": "https://github.com/alexvcasillas/react-native-loading-dots",
66
"author": "Alex Casillas",
77
"license": "MIT",
88
"main": "src/react-native-loading-dots.js",
99
"dependencies": {},
1010
"peerDependencies": {
11-
"react": "^16.8.6",
12-
"react-native": "^0.68.2"
11+
"react": "^18.2.0",
12+
"react-native": "^0.69.6"
1313
}
1414
}

0 commit comments

Comments
 (0)