Skip to content
Merged
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
16 changes: 12 additions & 4 deletions docusaurus/docs/date-picker/input-date-picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ The label used to display in the component.
`Type: Date | undefined`
The value used to populate the component.

**inputMode (Required)**
`Type: String`
The type of input needed for the the picker component.

**onChange**
`Type: Function`
Callback event when the component date mask length matches the text input length.
Expand All @@ -59,14 +63,18 @@ Callback event when the component date mask length matches the text input length
`Type: Function`
Callback event when the component text input changes.

**inputMode (Required)**
`Type: String`
The type of input needed for the the picker component.

**mode**
`Type: 'flat' | 'outlined'`
See [react-native-paper text-input](https://callstack.github.io/react-native-paper/text-input.html#mode).

**validRange**
`Type: {
startDate: Date | undefined,
endDate: Date | undefined,
disabledDates: Date[] | undefined
}`
Limits which dates the user can navigate to and where events can go. Dates outside of the valid range will be grayed-out.

**withDateFormatInLabel**
`Type: boolean | undefined`
Flag indicating if the date format should be inside the components label.
Expand Down