amountOfMonths
説明
The number of months to display.
タイプ
numberデフォルト
1Yamada UIにスターをあげる
スターCalendarは、日付を表示または選択するカレンダーのコンポーネントです。
説明
The number of months to display.
タイプ
numberデフォルト
1説明
The visual color appearance of the component.
タイプ
"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"デフォルト
"primary"説明
Props for calendar control button element.
タイプ
Omit<CalendarControlProps, "operation">説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'MMMM YYYY'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
Props for calendar day button element.
タイプ
{ component?: FC<DayProps> | undefined } & ButtonProps説明
The initial month of the calendar.
タイプ
Dateデフォルト
'new Date()'説明
The initial type of the calendar.
タイプ
"month" | "date" | "year"説明
The initial value of the calendar.
タイプ
NonNullable<Y>説明
If true, outside days will be disabled.
タイプ
booleanデフォルト
false説明
If true, enables date multiple selection.
タイプ
booleanデフォルト
false説明
If true, enables date range selection.
タイプ
booleanデフォルト
false説明
Callback function to determine whether the day should be disabled.
タイプ
(date: Date) => boolean説明
Define the first day of the week.
タイプ
"monday" | "sunday"デフォルト
'monday'説明
Props for calendar header element.
タイプ
HTMLUIProps説明
Define holidays.
タイプ
Date[]説明
Props for calendar label button element.
タイプ
{
icon?:
| IconProps
| ReactElement<any, string | JSXElementConstructor<any>>
| undefined
} & CalendarLabelProps説明
The locale of the calendar. Check the docs to see the locale of possible modifiers you can pass.
タイプ
stringデフォルト
'en-US'ドキュメント
https://day.js.org/docs/en/i18n/instance-locale説明
The maximum possible date.
タイプ
Date説明
The maximum selectable value.
タイプ
number説明
The minimum possible date.
タイプ
Date説明
The minimum selectable value.
タイプ
number説明
The month of the calendar.
タイプ
Date説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'MM'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
Props for calendar month grid element.
タイプ
HTMLUIProps説明
Props for calendar month button element.
タイプ
{
component?: FC<{ index: number; month: string; year: number }> | undefined
} & ButtonProps説明
Props for calendar next control button element.
タイプ
Omit<CalendarControlProps, "operation">説明
Ref to a next function.
タイプ
type ONLY_FOR_FORMAT =
| ((instance: (() => void | undefined) | null) => void)
| MutableRefObject<(() => void | undefined) | null>説明
The callback invoked when value state changes.
タイプ
(value: Y) => void説明
The callback invoked when month state changes.
タイプ
(value: Date) => void説明
The callback invoked when type state changes.
タイプ
(
type: "month" | "date" | "year",
year?: number | undefined,
month?: number | undefined,
) => void説明
The number of months to paginate.
タイプ
numberデフォルト
1説明
Props for calendar previous control button element.
タイプ
Omit<CalendarControlProps, "operation">説明
Ref to a previous function.
タイプ
type ONLY_FOR_FORMAT =
| ((instance: (() => void | undefined) | null) => void)
| MutableRefObject<(() => void | undefined) | null>説明
The size of the Calendar.
タイプ
"sm" | "md" | "lg" | "full"デフォルト
"md"説明
Props for calendar month table element.
タイプ
MonthTableProps説明
If true, highlight today.
タイプ
booleanデフォルト
false説明
The type of the calendar.
タイプ
"month" | "date" | "year"説明
Ref to a type function.
タイプ
type ONLY_FOR_FORMAT =
| ((instance: (() => void | undefined) | null) => void)
| MutableRefObject<(() => void | undefined) | null>説明
The value of the calendar.
タイプ
NonNullable<Y>説明
The variant of the Calendar.
タイプ
"solid" | "subtle" | "unstyled"デフォルト
"solid"説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'dd'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
Props for calendar weekday element.
タイプ
{ component?: FC<WeekdayProps> | undefined } & UIProps &
Omit<HTMLProps<"div">, keyof UIProps>説明
Define weekend days.
タイプ
number[]デフォルト
'[0, 6]'説明
If true, display the calendar control buttons.
タイプ
booleanデフォルト
true説明
If true, display the calendar header.
タイプ
booleanデフォルト
true説明
If true, display the calendar label button.
タイプ
booleanデフォルト
true説明
If true, display the calendar weekdays.
タイプ
booleanデフォルト
true説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'YYYY'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
Props for calendar year grid element.
タイプ
HTMLUIProps説明
Props for calendar year button element.
タイプ
{
component?: FC<{ index: number; year: number }> | undefined
} & ButtonPropsGitHubでこのページを編集する