Skip to content

Commit a3b31ea

Browse files
committed
more
1 parent ebf5ad8 commit a3b31ea

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/src/lib/content/api-reference/date-picker.api.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,14 @@ export const root = defineComponentApiSchema<DatePickerRootPropsWithoutHTML>({
7171
minValue: calendarRoot.props!.minValue,
7272
locale: calendarRoot.props!.locale,
7373
numberOfMonths: calendarRoot.props!.numberOfMonths,
74-
disabled: calendarRoot.props!.disabled,
75-
readonly: dateFieldRoot.props!.readonly,
74+
disabled: defineBooleanProp({
75+
default: false,
76+
description: "Whether or not the Date Picker is disabled.",
77+
}),
78+
readonly: defineBooleanProp({
79+
description: "Whether or not the Date Picker is readonly.",
80+
default: false,
81+
}),
7682
hourCycle: dateFieldRoot.props!.hourCycle,
7783
granularity: dateFieldRoot.props!.granularity,
7884
hideTimeZone: dateFieldRoot.props!.hideTimeZone,

0 commit comments

Comments
 (0)