From bdce3cdaae21d93c78f10a416863e9330c7ad049 Mon Sep 17 00:00:00 2001 From: Pav Sidhu Date: Sat, 25 Aug 2018 14:28:53 +0100 Subject: [PATCH 1/3] Add contextMenuHidden to TextInput --- types/react-native/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 3d92f7ddd4..9ab61b6b7a 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 From 20c03ac0dd8feae657862340c134c278dcbb0fc6 Mon Sep 17 00:00:00 2001 From: Pav Sidhu Date: Sat, 25 Aug 2018 15:25:06 +0100 Subject: [PATCH 2/3] Fix whitespace --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 9ab61b6b7a..0c90a87cf6 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -1238,7 +1238,7 @@ export interface TextInputProps * 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 From fbcb8526ec05eed1f5588a04b999ac61164b306c Mon Sep 17 00:00:00 2001 From: Pav Sidhu Date: Tue, 28 Aug 2018 00:40:30 +0100 Subject: [PATCH 3/3] Update index.tsx --- types/react-native/test/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index a9e3944a9b..1057ed181b 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -595,6 +595,10 @@ class TextInputTest extends React.Component<{}, {username: string}> { multiline onContentSizeChange={this.handleOnContentSizeChange} /> + + ); }