You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
372 B
9 lines
372 B
1 month ago
|
import type { ISelectV2Props } from './token';
|
||
|
import type { Option, SelectStates } from './select.types';
|
||
|
export declare function useAllowCreate(props: ISelectV2Props, states: SelectStates): {
|
||
|
createNewOption: (query: string) => void;
|
||
|
removeNewOption: (option: Option) => void;
|
||
|
selectNewOption: (option: Option) => void;
|
||
|
clearAllNewOption: () => void;
|
||
|
};
|