@abbl/material-calendar
Version:
Calendar component build with React and Material-UI
16 lines (15 loc) • 478 B
TypeScript
/// <reference types="react" />
export declare type SelectInputValue = string | number | string[];
export interface SelectOption<T> {
id?: number;
name: SelectInputValue;
source: T;
}
interface SelectInputProps<T> {
options: SelectOption<T>[];
variant?: 'filled' | 'outlined' | 'standard';
overrideOption?: T;
onInputChange?: (value: T) => void;
}
declare function SelectInput<T>(props: SelectInputProps<T>): JSX.Element;
export default SelectInput;