@bottledbrains/ui
Version:
A React UI library based on Tailwind CSS
15 lines (14 loc) • 476 B
TypeScript
import { FC } from 'react';
import { CommonControlProps } from '../../types';
import { SelectOption } from '../ScrollSelector';
export interface SelectProps extends CommonControlProps {
options: SelectOption[];
multiple?: boolean;
value?: string | string[];
onChange?: (values: string | string[]) => void;
placeholder?: string;
open?: boolean;
onOpenChange?: (open: boolean) => void;
}
declare const Select: FC<SelectProps>;
export default Select;