diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 13880f61a5..6a54805118 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -1234,6 +1234,11 @@ export interface TextInputProps */ caretHidden?: boolean + /** + * If true, context menu is hidden. The default value is false. + */ + contextMenuHidden?: boolean + /** * Provides an initial value that will change when the user starts typing. * Useful for simple use-cases where you don't want to deal with listening to events diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index c4d7d493e3..b5a0a5c4cb 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -596,6 +596,10 @@ class TextInputTest extends React.Component<{}, {username: string}> { multiline onContentSizeChange={this.handleOnContentSizeChange} /> + + ); }