UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

14 lines (13 loc) 620 B
import { ListDaysStateType } from '../list/types/state'; type getStatePropsType = { dayFormatted: Date | 0; isSelectedToLeft: (dayFormatted: Date | 0) => boolean; isSelectedToRight: (dayFormatted: Date | 0) => boolean; isGhostSelected: (dayFormatted: Date | 0) => boolean; selectedDate: Date[]; hasRange?: boolean; today: string; formatDate: (date: Date, format: string) => string; }; export declare const getStateDay: ({ dayFormatted, isSelectedToLeft, isSelectedToRight, isGhostSelected, selectedDate, hasRange, today, formatDate, }: getStatePropsType) => ListDaysStateType; export {};