mui-tw-components
Version:
````markdown # **mui-tw-components - Reusable UI Components**
20 lines (19 loc) • 705 B
TypeScript
interface DropdownProps<T> {
options: T[];
label: string;
sx?: object;
id: string;
size?: 'small' | 'medium';
searchStyle?: string;
placeholder?: string;
isLabelRequired?: boolean;
wrapperStyle?: string;
required?: boolean;
value: any;
onChange: any;
disabled?: boolean;
disableClearable?: boolean;
}
declare function Dropdown<T>({ id, options, label, sx, onChange, searchStyle, placeholder, size, isLabelRequired, wrapperStyle, required, value, disabled, disableClearable, ...props }: DropdownProps<T>): import("react/jsx-runtime").JSX.Element;
declare const _default: import("react").MemoExoticComponent<typeof Dropdown>;
export default _default;