diff --git a/docs/textinput.md b/docs/textinput.md index 284cd34f774..0c96cb4951d 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -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.