mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-25 07:34:45 +00:00
[fix] TextInput forwards placeholderTextColor
Fix a bug introduced by 924e891f58
Ref #1512
This commit is contained in:
@@ -184,7 +184,7 @@ The string that will be rendered in an empty `TextInput` before text has been en
|
||||
</Story>
|
||||
</Preview>
|
||||
|
||||
### placeholderTextColor: ?color
|
||||
### placeholderTextColor
|
||||
|
||||
The text color of the placeholder string.
|
||||
|
||||
@@ -212,7 +212,7 @@ passwords stay secure. (Not available when `multiline` is `true`.)
|
||||
</Story>
|
||||
</Preview>
|
||||
|
||||
### selection: ?{ start: number, end: ?number }
|
||||
### selection
|
||||
|
||||
The start and end of the text input's selection. Set start and end to the same
|
||||
value to position the cursor.
|
||||
@@ -232,7 +232,7 @@ If `true`, all text will automatically be selected on focus.
|
||||
If `false`, disables spell-check style (i.e. red underlines). The default value
|
||||
is inherited from `autoCorrect`. (Only available in supporting browsers).
|
||||
|
||||
### style: ?style
|
||||
### style
|
||||
|
||||
```js
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user