@uiw-admin/components
Version:
21 lines (20 loc) • 863 B
TypeScript
import React from 'react';
import { OptionsProps } from '../../type';
export interface SelectMultipleProps {
option?: OptionsProps[];
onChange?: (selectedList?: OptionsProps[]) => void;
onSelect?: (selected?: OptionsProps | null) => void;
onSearch?: (name?: string) => void;
onBlur?: () => void;
onClear?: (selectedList?: OptionsProps[]) => void;
value?: OptionsProps[];
allowClear?: boolean;
loading?: boolean;
disabled?: boolean;
placeholder?: string;
noContent?: React.ReactNode;
showSearch?: boolean;
maxCount?: number;
}
declare function SelectMultiple(this: import('../../type').FormFields, { option, onChange, onSelect, onSearch, onBlur, onClear, value, loading, disabled, placeholder, allowClear, noContent, showSearch, maxCount, }: SelectMultipleProps): JSX.Element;
export default SelectMultiple;