Skip to content

Commit a0246e8

Browse files
committed
docs: Add prop to component documentation.
1 parent 26e3450 commit a0246e8

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

docusaurus/docs/date-picker/input-date-picker.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,8 @@ The start year when the component is rendered. Defaults to `1800`.
9999
`Type: number | undefined`
100100
The end year when the component is rendered. Defaults to `2200`.
101101

102+
**inputEnabled**
103+
`Type: boolean | undefined`
104+
Flag indicating if the component should be enabled or not. Behavior similarly to `disabled`. Defaults to `true`.
105+
102106
* Other [react-native TextInput props](https://reactnative.dev/docs/textinput#props).*

docusaurus/docs/date-picker/range-date-picker.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,7 @@ The edit icon used to toggle between calendar and input. Defaults to `pencil`. Y
145145
**calendarIcon**
146146
`Type: string | undefined`
147147
The edit icon used to toggle between input and calendar. Defaults to `calendar`. You can pass the name of an icon from [MaterialCommunityIcons](https://materialdesignicons.com/).
148+
149+
**inputEnabled**
150+
`Type: boolean | undefined`
151+
Flag indicating if the component should be enabled or not. Defaults to `true`.

docusaurus/docs/date-picker/single-date-picker.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,7 @@ The edit icon used to toggle between calendar and input. Defaults to `pencil`. Y
132132
**calendarIcon**
133133
`Type: string | undefined`
134134
The edit icon used to toggle between input and calendar. Defaults to `calendar`. You can pass the name of an icon from [MaterialCommunityIcons](https://materialdesignicons.com/).
135+
136+
**inputEnabled**
137+
`Type: boolean | undefined`
138+
Flag indicating if the component should be enabled or not. Defaults to `true`.

0 commit comments

Comments
 (0)