Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Test extends React.Component<any> {
<DialogContent>

</DialogContent>
></Dialog>
</Dialog>
</View>);
}
}
Expand Down
15 changes: 15 additions & 0 deletions types/react-native/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,21 @@ export interface TextInputIOSProps {
*/
keyboardAppearance?: 'default' | 'light' | 'dark';

/**
* Provide rules for your password.
* For example, say you want to require a password with at least eight characters consisting of a mix of uppercase and lowercase letters, at least one number, and at most two consecutive characters.
* "required: upper; required: lower; required: digit; max-consecutive: 2; minlength: 8;"
*/
passwordRules?: string | null;

/**
* If `true`, allows TextInput to pass touch events to the parent component.
* This allows components to be swipeable from the TextInput on iOS,
* as is the case on Android by default.
* If `false`, TextInput always asks to handle the input (except when disabled).
*/
rejectResponderTermination?: boolean | null;

/**
* See DocumentSelectionState.js, some state that is responsible for maintaining selection information for a document
*/
Expand Down