import { CSSProperties } from "react"; import { Language } from "./HebrewCalendar/enums/language"; import { DayObj } from "./HebrewCalendar/interfaces/dayObj"; import { Format } from "./HebrewCalendar/enums/format"; interface Props { /** * Sets language of the component. either Hebrew or English */ language?: Language; /** * Set a default date for the component */ selectedDate?: Date; /** * Callback function when user chooses a day in the calendar * @param selectedDate A DayObj object that was chosen * @returns */ onSelectDate: (selectedDate: DayObj) => void; /** * general format of the component, large or small */ format?: Format; /** * CSS of the whole component */ customCalWrapper?: CSSProperties; /** * CSS of the top component */ customControllers?: CSSProperties; /** * CSS of the input text which represents the year */ customInputText?: CSSProperties; /** * CSS of the select month component */ customSelect?: CSSProperties; /** * CSS of the select month options component */ customSelectOption?: CSSProperties; /** * CSS of the custom hebrew title */ customHebTitle?: CSSProperties; /** * CSS of the custom table */ customTable?: CSSProperties; /** * CSS of the custom header row */ customTr?: CSSProperties; /** * CSS of the custom data row */ customDataTr?: CSSProperties; /** * CSS of the custom data cell */ customTd?: CSSProperties; /** * CSS of the custom header cell */ customTh?: CSSProperties; /** * CSS of the custom special event cell */ customSpecialEvent?: CSSProperties; /** * CSS of the custom saturday cell */ customSaturday?: CSSProperties; /** * CSS of the custom selected date cell */ customSelectedDate?: CSSProperties; /** * CSS of the custom td inner content */ customButtonDateWrapper?: CSSProperties; /** * CSS of the custom day in month component */ customDate?: CSSProperties; /** * CSS of the custom hebrew day */ customHebDate?: CSSProperties; /** * CSS of the custom gregorian day */ customGregDate?: CSSProperties; /** * CSS of the custom description */ customDesc?: CSSProperties; } declare function Cal(props: Props): JSX.Element; export default Cal;