@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
15 lines (14 loc) • 754 B
TypeScript
import React from 'react';
import { ICalendar } from './types/calendar';
import { CalendarVariantType } from './types/variant';
declare const CalendarBoundary: <V extends string | unknown | CalendarVariantType>(props: ICalendar<V>, ref: React.ForwardedRef<HTMLDivElement> | undefined | null) => JSX.Element;
/**
* @description
* Calendar component is a selector of dates, that includes a month and year selector.
* @param {React.PropsWithChildren<ICalendar<V>>} props
* @returns {JSX.Element}
*/
declare const Calendar: <V extends string | unknown | CalendarVariantType>(props: React.PropsWithChildren<ICalendar<V>> & {
ref?: React.ForwardedRef<HTMLDivElement> | undefined | null;
}) => ReturnType<typeof CalendarBoundary>;
export { Calendar };