Skip to content

Commit

Permalink
Merge pull request #39 from jbrodriguez/master
Browse files Browse the repository at this point in the history
Fix style for text component
  • Loading branch information
evetstech authored Nov 4, 2017
2 parents 1941beb + 1efa742 commit 451c830
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {
ScrollView,
TextInput,
Switch,
Image
Image,
ViewPropTypes
} from 'react-native';

const ARROW_ICON = require('./img/icon-arrow-settings.png');
Expand Down Expand Up @@ -310,19 +311,19 @@ SettingsList.Item = createReactClass({
/**
* Item Box Style
*/
itemBoxStyle : View.propTypes.style,
itemBoxStyle : ViewPropTypes.style,
/**
* Title Box Style
*/
titleBoxStyle: View.propTypes.style,
titleBoxStyle: ViewPropTypes.style,
/**
* Right Side Style
*/
rightSideStyle: View.propTypes.style,
rightSideStyle: ViewPropTypes.style,
/**
* Editable Right Side Style
*/
editableTextStyle: View.propTypes.style,
editableTextStyle: Text.propTypes.style,

/**
* Individual item width. Can be globally set in the parent. Will become deprecated
Expand Down

0 comments on commit 451c830

Please sign in to comment.