File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,18 @@ npm i react-native-bottom-bar
2727" react-native-bottom-bar" : " WrathChaos/react-native-bottom-bar#expo"
2828```
2929
30+ ### Peer Dependencies :
31+
32+ You must install these dependencies!
33+
34+ ``` ruby
35+ " react" : " >= 16.x" ,
36+ " react-native" : " >= 0.55.x" ,
37+ " react-native-vector-icons" : " >= 6.0" ,
38+ " react-native-iphone-x-helper" : " >= 1.2" ,
39+ " react-native-linear-gradient" : " >= 2.4.x" ,
40+ " react-native-dynamic-vector-icons" : " >= x.x.x"
41+ ```
3042
3143## Usage
3244
Original file line number Diff line number Diff line change 1010 "dependencies" : {
1111 "react" : " 16.6.3" ,
1212 "react-native" : " 0.58.4" ,
13- "react-native-bottom-bar" : " ^0.1.4" ,
13+ "react-native-bottom-bar" : " ^0.1.5" ,
14+ "react-native-dynamic-vector-icons" : " 0.0.3" ,
1415 "react-native-elements" : " ^0.19.1" ,
1516 "react-native-iphone-x-helper" : " ^1.2.0" ,
1617 "react-native-linear-gradient" : " ^2.5.3" ,
Original file line number Diff line number Diff line change 11import React , { Component } from "react" ;
22import { Platform , View , TouchableOpacity } from "react-native" ;
33import LinearGradient from "react-native-linear-gradient" ;
4- import { Icon } from "react-native-elements " ;
4+ import Icon from "react-native-dynamic-icons " ;
55import colors from "./styles/common/colors" ;
66import sharedStyle , { defaultShadowStyle } from "./styles/common/shared.style" ;
77import BottomIconsStyle from "./styles/BottomIcons.style" ;
@@ -47,7 +47,7 @@ export default class MainIconButton extends Component {
4747 { mainIcon || (
4848 < Icon
4949 name = "ios-car"
50- type = "ionicon "
50+ type = "Ionicon "
5151 size = { 35 }
5252 color = { mainIconColor || colors . theme . light . white }
5353 />
Original file line number Diff line number Diff line change 11import React , { Component } from "react" ;
22import { TouchableOpacity , View } from "react-native" ;
3- import { Icon } from "react-native-elements " ;
3+ import Icon from "react-native-dynamic-vector-icons " ;
44import styles from "./styles/MiniButton.style" ;
55import colors from "./styles/common/colors" ;
66import { shadowStyle } from "./styles/common/shared.style" ;
@@ -16,9 +16,9 @@ export default class MiniButton extends Component {
1616 >
1717 < View >
1818 < Icon
19- name = "help-circle"
20- type = "material-community"
2119 size = { 40 }
20+ name = "help-circle"
21+ type = "MaterialCommunityIcons"
2222 color = { color || colors . theme . light . primary }
2323 shadowStyle = { shadowStyle . buttonStyle }
2424 />
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-bottom-bar" ,
3- "version" : " 0.1.4 " ,
3+ "version" : " 0.1.5 " ,
44 "description" : " Fully customizable BottomBar for React Native." ,
55 "keywords" : [
66 " react-native" ,
2828 "peerDependencies" : {
2929 "react" : " >= 16.x" ,
3030 "react-native" : " >= 0.55.x" ,
31- "react-native-elements" : " >= 0.19" ,
3231 "react-native-vector-icons" : " >= 6.0" ,
3332 "react-native-iphone-x-helper" : " >= 1.2" ,
34- "react-native-linear-gradient" : " >= 2.4.x"
33+ "react-native-linear-gradient" : " >= 2.4.x" ,
34+ "react-native-dynamic-vector-icons" : " >= x.x.x"
3535 },
3636 "devDependencies" : {
3737 "@types/react" : " ^16.4.15" ,
You can’t perform that action at this time.
0 commit comments