Skip to content

Commit 418fff6

Browse files
author
Harini Malothu
committed
updates txtinput.js file
1 parent 9b577cd commit 418fff6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

vnext/src-win/Libraries/Components/TextInput/TextInput.windows.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,15 @@ type TextInputWindowsProps = $ReadOnly<{|
609609
// Windows]
610610

611611
type TextInputBaseProps = $ReadOnly<{
612+
613+
/**
614+
* String to be read by screenreaders to indicate an error state. The acceptable parameters
615+
* of accessibilityErrorMessage is a string. Setting accessibilityInvalid to true activates
616+
* the error message. Setting accessibilityInvalid to false removes the error message.
617+
*/
618+
accessibilityErrorMessage?: ?Stringish,
619+
accessibilityInvalid?: ?boolean,
620+
612621
/**
613622
* Can tell `TextInput` to automatically capitalize certain characters.
614623
*

0 commit comments

Comments
 (0)