Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,16 @@ Note that on iOS this method isn't called when using `keyboardType="phone-pad"`.

---

### `onPaste`

Invoked when the user performs the paste action. The `items` array contains one object where `type` and `data` are the MIME type and the content of the clipboard respectively. `data` is in plaintext if the type is `text/plain`, URI otherwise.

| Type |
| --------------------------------------------------------- |
| (`{nativeEvent: {target, items: [{type, data}]}`) => void |

---

### `placeholder`

The string that will be rendered before text input has been entered.
Expand Down