jstd-web/node_modules/element-plus/lib/components/select-v2/src/useAllowCreate.d.ts

9 lines
349 B
TypeScript
Raw Normal View History

2025-11-25 15:23:22 +08:00
import type { ISelectV2Props } from './token';
import type { Option } from './select.types';
export declare function useAllowCreate(props: ISelectV2Props, states: any): {
createNewOption: (query: string) => void;
removeNewOption: (option: Option) => void;
selectNewOption: (option: Option) => void;
clearAllNewOption: () => void;
};