Files
dsProject/dsBase/WebRoot/html/cdn/lib/components/select-v2/src/useAllowCreate.d.ts
2025-08-14 15:45:08 +08:00

9 lines
345 B
TypeScript

import type { ISelectProps } from './token';
import type { Option } from './select.types';
export declare function useAllowCreate(props: ISelectProps, states: any): {
createNewOption: (query: string) => void;
removeNewOption: (option: Option) => void;
selectNewOption: (option: Option) => void;
clearAllNewOption: () => void;
};