Skip to content

Commit 98ab356

Browse files
Merge pull request #146 from suvenduchhatoi/branch1
NBKS App with NB(2.11.0),RN(0.58.3)
2 parents 0547f59 + bf8ddd2 commit 98ab356

13 files changed

+18
-17
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "NativebaseKitchenSink",
3-
"version": "2.7.0",
3+
"version": "2.11.0",
44
"private": true,
55
"devDependencies": {
66
"babel-eslint": "7.2.3",
@@ -33,11 +33,12 @@
3333
"color": "1.0.3",
3434
"lodash": "4.17.10",
3535
"moment": "2.13.0",
36-
"native-base": "https://github.com/GeekyAnts/NativeBase#master",
36+
"native-base": "2.11.0",
3737
"prop-types": "^15.6.2",
3838
"react": "16.5.0",
39-
"react-native": "0.57.1",
39+
"react-native": "0.58.3",
4040
"react-navigation": "1.5.0",
41+
"scheduler": "^0.12.0",
4142
"styled-components": "^3.4.5"
4243
}
4344
}

src/screens/form/pickerInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class PickerInput extends Component {
4848
<Item picker>
4949
<Picker
5050
mode="dropdown"
51-
iosIcon={<Icon name="ios-arrow-down-outline" />}
51+
iosIcon={<Icon name="ios-arrow-down" />}
5252
style={{ width: undefined }}
5353
placeholder="Select your SIM"
5454
placeholderStyle={{ color: "#bfc6ea" }}

src/screens/icon/basic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class BasicIcon extends Component {
148148
/>
149149
<Icon
150150
active
151-
name="game-controller-a"
151+
name="logo-game-controller-a"
152152
style={{ width: 45, height: 45, justifyContent: "center" }}
153153
/>
154154
<Icon
@@ -188,7 +188,7 @@ class BasicIcon extends Component {
188188
style={{ width: 45, height: 45, justifyContent: "center" }}
189189
/>
190190
<Icon
191-
name="ionic"
191+
name="logo-ionic"
192192
style={{ width: 45, height: 45, justifyContent: "center" }}
193193
/>
194194
<Icon

src/screens/icon/platform-specific.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class PlatformSpecificIcon extends Component {
4242
<Text>person</Text>
4343
</Col>
4444
<Col style={styles.col}>
45-
<Icon ios="ios-apps-outline" android="md-apps" />
45+
<Icon ios="ios-apps" android="md-apps" />
4646
<Text>apps</Text>
4747
</Col>
4848
<Col style={styles.col}>
@@ -54,7 +54,7 @@ class PlatformSpecificIcon extends Component {
5454
<Text>paper</Text>
5555
</Col>
5656
<Col style={styles.col}>
57-
<Icon ios="ios-cart-outline" android="md-cart" />
57+
<Icon ios="ios-cart" android="md-cart" />
5858
<Text>cart</Text>
5959
</Col>
6060
</Row>

src/screens/icon/state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class StateIcon extends Component {
227227
</Text>
228228
</Col>
229229
<Col style={styles.col}>
230-
<Icon name="ionic" />
230+
<Icon name="logo-ionic" />
231231
<Text numberOfLines={1} style={styles.iconText}>
232232
ionic
233233
</Text>

src/screens/list/list-icon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class NHListIcon extends Component {
5858
<ListItem icon>
5959
<Left>
6060
<Button style={{ backgroundColor: "#FF9501" }}>
61-
<Icon active name="plane" />
61+
<Icon active name="airplane" />
6262
</Button>
6363
</Left>
6464
<Body>

src/screens/picker/backButtonPicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class RegularPicker extends Component {
4747
<Form>
4848
<Picker
4949
mode="dropdown"
50-
iosIcon={<Icon name="ios-arrow-down-outline" />}
50+
iosIcon={<Icon name="ios-arrow-down" />}
5151
headerBackButtonText="Baaack!"
5252
style={{ width: undefined }}
5353
selectedValue={this.state.selected3}

src/screens/picker/customHeaderPicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class RegularPicker extends Component {
5959
<Right />
6060
</Header>}
6161
mode="dropdown"
62-
iosIcon={<Icon name="ios-arrow-down-outline" />}
62+
iosIcon={<Icon name="ios-arrow-down" />}
6363
style={{ width: undefined }}
6464
selectedValue={this.state.selected1}
6565
onValueChange={this.onValueChange.bind(this)}

src/screens/picker/headerPicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class RegularPicker extends Component {
5151
<Picker
5252
mode="dropdown"
5353
iosHeader="Your Header"
54-
iosIcon={<Icon name="ios-arrow-down-outline" />}
54+
iosIcon={<Icon name="ios-arrow-down" />}
5555
style={{ width: Platform.OS === "ios" ? undefined : 120 }}
5656
selectedValue={this.state.selected4}
5757
onValueChange={this.onValueChange4.bind(this)}

src/screens/picker/headerStylePicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class RegularPicker extends Component {
4747
<Form>
4848
<Picker
4949
mode="dropdown"
50-
iosIcon={<Icon name="ios-arrow-down-outline" />}
50+
iosIcon={<Icon name="ios-arrow-down" />}
5151
headerStyle={{ backgroundColor: "#b95dd3" }}
5252
headerBackButtonTextStyle={{ color: "#fff" }}
5353
headerTitleStyle={{ color: "#fff" }}

0 commit comments

Comments
 (0)