Skip to content

Commit 06dfe37

Browse files
jeffshekiRoachie
authored andcommitted
(example) Have Icon Use Correct iconStyle Props (react-native-elements#729)
* Have Icon Use Correct iconStyle Props https://react-native-training.github.io/react-native-elements/API/icons/ * Fix other areas where style was not being called correctly
1 parent 593c69d commit 06dfe37

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

example/src/drawer/home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Home.navigationOptions = {
8282
<Icon
8383
name="home"
8484
size={30}
85-
style={{
85+
iconStyle={{
8686
width: 50,
8787
height: 50,
8888
alignItems: 'center',

example/src/drawer/playground.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const PlaygroundDrawerItem = StackNavigator({
1515
name="menu"
1616
size={30}
1717
type="entypo"
18-
style={{ paddingLeft: 10 }}
18+
iconStyle={{ paddingLeft: 10 }}
1919
onPress={() => navigation.navigate('DrawerOpen')}
2020
/>
2121
),
@@ -29,7 +29,7 @@ PlaygroundDrawerItem.navigationOptions = {
2929
<Icon
3030
name="brush"
3131
size={30}
32-
style={{
32+
iconStyle={{
3333
width: 50,
3434
height: 50,
3535
alignItems: 'center',

example/src/drawer/pricing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const PricingDrawerItem = StackNavigator({
1515
name="menu"
1616
size={30}
1717
type="entypo"
18-
style={{ paddingLeft: 10 }}
18+
iconStyle={{ paddingLeft: 10 }}
1919
onPress={() => navigation.navigate('DrawerOpen')}
2020
/>
2121
),
@@ -29,7 +29,7 @@ PricingDrawerItem.navigationOptions = {
2929
<Icon
3030
name="attach-money"
3131
size={30}
32-
style={{
32+
iconStyle={{
3333
width: 50,
3434
height: 50,
3535
alignItems: 'center',

example/src/drawer/ratings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RatingsDrawerItem.navigationOptions = {
1717
<Icon
1818
name="star"
1919
size={30}
20-
style={{
20+
iconStyle={{
2121
width: 50,
2222
height: 50,
2323
alignItems: 'center',

0 commit comments

Comments
 (0)