@commercetools-uikit/calendar-utils
Version:
Utilities to work with values for a calendar.
18 lines (17 loc) • 476 B
TypeScript
import { ReactNode } from 'react';
type TCalendarDay = {
children?: ReactNode;
type?: 'heading' | 'spacing' | 'day';
isHighlighted?: boolean;
isSelected?: boolean;
isRangeStart?: boolean;
isRangeBetween?: boolean;
isRangeEnd?: boolean;
isToday?: boolean;
disabled?: boolean;
};
declare const CalendarDay: {
(props: TCalendarDay): import("@emotion/react/jsx-runtime").JSX.Element;
displayName: string;
};
export default CalendarDay;