obss-air-command-component-library
Version:
React component library for Air Command System
20 lines (19 loc) • 490 B
TypeScript
import React from 'react';
export interface SelectOption {
label: string;
value: string;
}
export interface SelectProps {
label?: string;
options: SelectOption[];
placeholder?: string;
value?: string | string[];
onChange: (value: string | string[]) => void;
multiple?: boolean;
disabled?: boolean;
searchable?: boolean;
searchPlaceholder?: string;
noOptionsText?: string;
}
declare const Select: React.FC<SelectProps>;
export default Select;