[ReactNative] s/Text.stylePropType/Text.propTypes.style/

This commit is contained in:
Christopher Chedeau 2015-03-09 09:29:09 -07:00
Родитель f61e4184a8
Коммит 1e01c26457
2 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -188,7 +188,7 @@ var TextInput = React.createClass({
'always', 'always',
]), ]),
style: Text.stylePropType, style: Text.propTypes.style,
}, },
/** /**

Просмотреть файл

@ -64,10 +64,6 @@ var Text = React.createClass({
mixins: [Touchable.Mixin, NativeMethodsMixin], mixins: [Touchable.Mixin, NativeMethodsMixin],
statics: {
stylePropType: stylePropType,
},
propTypes: { propTypes: {
/** /**
* Used to truncate the text with an elipsis after computing the text * Used to truncate the text with an elipsis after computing the text