timeline-calendar-react
Version:
A timeline calendar component for React, built with TypeScript and Vite.
18 lines (17 loc) • 597 B
TypeScript
import { CSSProperties } from 'react';
import { StatusType, EventType, Theme } from '../../types';
type SelectProps = {
theme: Theme;
defaultText: string;
defaultAll: string;
optionsList: EventType[] | StatusType[];
multiselect?: boolean;
selectedOptions?: EventType[] | StatusType[];
className?: string;
style?: CSSProperties;
accentColor: string;
dataTestid?: string;
onOptionSelect?: (selectedOption: (EventType | StatusType)[]) => void;
};
declare function Select(props: SelectProps): import("react/jsx-runtime").JSX.Element;
export default Select;