You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,14 @@ npm i @paraboly/react-native-input-bar
32
32
```js
33
33
"react":">= 16.x.x",
34
34
"react-native":">= 0.55.x",
35
+
"react-native-spinkit":">= 1.5.0",
35
36
"react-native-androw":">= 0.0.34",
36
37
"react-native-vector-icons":">= 6.6.0",
37
38
"react-native-dynamic-vector-icons":">= 0.2.1"
38
39
```
39
40
41
+
### Note: Do not for get to `pod install` for installing properly SpinKit
42
+
40
43
# Usage
41
44
42
45
### InputBar should stay at the bottom therefore, please do not forget to set `flex: 1` on your main container. Example is available for the real usage.
@@ -79,10 +82,16 @@ import InputBar from "@paraboly/react-native-input-bar";
79
82
| secondaryIconColor | string | #9da1ab | change the secondary icon's color |
80
83
| secondaryIconSize | number | 21 | change the secondary icon's size |
81
84
| secondaryIconOnPress | function | undefined | set a function when secondary icon is on pressed |
85
+
| spinnerVisibility | boolean | false | make the spinner visible instead of primarty icon |
86
+
| spinnerType | string | FadingCircleAlt | change the spinner type |
87
+
| spinnerSize | number | 20 | change the spinner number |
88
+
| spinnerColor | color | #9da1ab | change the spinner color |
89
+
| spinnerStyle | style | undefined | set your own style for spinner |
0 commit comments