jb-calendar
Version:
jalali calendar interface web component
7 lines (6 loc) • 317 B
TypeScript
import { RefObject } from "react";
import type { JBCalendarEventType, JBCalendarWebComponent } from 'jb-calendar';
export type EventProps = {
onSelect?: (e: JBCalendarEventType<CustomEvent>) => void;
};
export declare function useEvents(element: RefObject<JBCalendarWebComponent>, props: EventProps): void;