[ReactNative] s/Text.stylePropType/Text.propTypes.style/
This commit is contained in:
Родитель
f61e4184a8
Коммит
1e01c26457
|
@ -188,7 +188,7 @@ var TextInput = React.createClass({
|
|||
'always',
|
||||
]),
|
||||
|
||||
style: Text.stylePropType,
|
||||
style: Text.propTypes.style,
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -64,10 +64,6 @@ var Text = React.createClass({
|
|||
|
||||
mixins: [Touchable.Mixin, NativeMethodsMixin],
|
||||
|
||||
statics: {
|
||||
stylePropType: stylePropType,
|
||||
},
|
||||
|
||||
propTypes: {
|
||||
/**
|
||||
* Used to truncate the text with an elipsis after computing the text
|
||||
|
|
Загрузка…
Ссылка в новой задаче