mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(docs): incorrect date value type in api (#5936)
* fix(docs): incorrect date value type in api * chore(docs): revise types
This commit is contained in:
parent
8b2ec9fa46
commit
217e88d58e
@ -329,7 +329,7 @@ import {I18nProvider} from "@react-aria/i18n";
|
||||
},
|
||||
{
|
||||
attribute: "value",
|
||||
type: "ZonedDateTime | CalendarDate | CalendarDateTime | undefined | null",
|
||||
type: "DateValue | null",
|
||||
description: "The current value of the date-picker (controlled).",
|
||||
default: "-"
|
||||
},
|
||||
@ -359,13 +359,13 @@ import {I18nProvider} from "@react-aria/i18n";
|
||||
},
|
||||
{
|
||||
attribute: "defaultValue",
|
||||
type: "string",
|
||||
type: "DateValue | null",
|
||||
description: "The default value of the date-picker (uncontrolled).",
|
||||
default: "-"
|
||||
},
|
||||
{
|
||||
attribute: "placeholderValue",
|
||||
type: "ZonedDateTime | CalendarDate | CalendarDateTime | undefined | null",
|
||||
type: "DateValue | null",
|
||||
description: "The placeholder of the date-picker.",
|
||||
default: "-"
|
||||
},
|
||||
|
||||
@ -376,7 +376,7 @@ You can customize the `DateRangePicker` component by passing custom Tailwind CSS
|
||||
},
|
||||
{
|
||||
attribute: "value",
|
||||
type: "RangeValue<CalendarDate | CalendarDateTime | ZonedDateTime> | undefined | null",
|
||||
type: "RangeValue<DateValue> | null",
|
||||
description: "The current value of the date-range-picker (controlled).",
|
||||
default: "-"
|
||||
},
|
||||
@ -406,25 +406,25 @@ You can customize the `DateRangePicker` component by passing custom Tailwind CSS
|
||||
},
|
||||
{
|
||||
attribute: "minValue",
|
||||
type: "RangeValue<CalendarDate | CalendarDateTime | ZonedDateTime> | undefined | null",
|
||||
type: "DateValue | null",
|
||||
description: "The minimum value of the date-range-picker.",
|
||||
default: "-"
|
||||
},
|
||||
{
|
||||
attribute: "maxValue",
|
||||
type: "RangeValue<CalendarDate | CalendarDateTime | ZonedDateTime> | undefined | null",
|
||||
type: "DateValue | null",
|
||||
description: "The maximum value of the date-range-picker.",
|
||||
default: "-"
|
||||
},
|
||||
{
|
||||
attribute: "defaultValue",
|
||||
type: "string",
|
||||
type: "RangeValue<DateValue> | null",
|
||||
description: "The default value of the date-range-picker (uncontrolled).",
|
||||
default: "-"
|
||||
},
|
||||
{
|
||||
attribute: "placeholderValue",
|
||||
type: "ZonedDateTime | CalendarDate | CalendarDateTime | undefined | null",
|
||||
type: "DateValue | null",
|
||||
description: "The placeholder of the date-range-picker.",
|
||||
default: "-"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user