timeline-calendar-react
Version:
A timeline calendar component for React, built with TypeScript and Vite.
16 lines (15 loc) • 678 B
TypeScript
import { EventType, Locale, StatusType, Theme } from '../../types';
type FilterProps = {
currentDate: string;
onDateChange: (newDate: string) => void;
onSearch: (searchTerm: string) => void;
events?: EventType[];
statuses?: StatusType[];
theme?: Theme;
handleEventSelect?: (selectedOption: EventType[]) => void;
handleStatusSelect?: (selectedOption: StatusType[]) => void;
accentColor: string;
lang: Locale;
};
declare function Filter({ currentDate, onDateChange, onSearch, events, statuses, theme, handleEventSelect, handleStatusSelect, accentColor, lang, }: FilterProps): import("react/jsx-runtime").JSX.Element;
export default Filter;