Skip to main content

DateOptions


Interface

interface DateOptions {
isSelected: boolean;
isToday: boolean;
isDisabled: boolean;
items: CalendarData[];
itemsWithMetadata: CalendarDataWithMetadata[];
}

Properties

PropertyTypeDescription
isDisabledbooleanIndicates whether the date is disabled. true means the date is inactive, and false means it is active
isSelectedbooleanIndicates whether the date is selected. true means the date is selected, and false means it is not.
isTodaybooleanIndicates whether the date represents today. true means the date is today, and false means it is not.
itemsCalendarData[]An array of basic data associated with the date.
itemsWithMetadataCalendarDataWithMetadata[]An array of data associated with the date, including additional metadata.