ds-smart-ui
Version:
Smart UI is a React component library that helps you build accessible and responsive web applications.
24 lines (22 loc) • 711 B
TypeScript
import { Props as SelectProps } from 'react-select';
import { FormColorTypes, FormRoundedTypes, FormSizeTypes } from '../../../types/form-types';
export interface Select2Props extends SelectProps {
label?: string;
placeholder?: string;
size?: FormSizeTypes;
required?: boolean;
disabled?: boolean;
rounded?: FormRoundedTypes;
color?: FormColorTypes;
helperText?: string;
error?: boolean;
options: {
value: string;
label: string;
color?: string;
id?: string;
}[];
id?: string;
}
declare const Select2: import('react').ForwardRefExoticComponent<Select2Props & import('react').RefAttributes<HTMLDivElement>>;
export default Select2;