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.
22 lines
644 B
22 lines
644 B
5 months ago
|
import type { ISelectV2Props } from './token';
|
||
|
import type { Option } from './select.types';
|
||
|
export interface Props {
|
||
|
label?: string;
|
||
|
value?: string;
|
||
|
disabled?: string;
|
||
|
options?: string;
|
||
|
}
|
||
|
export declare const defaultProps: Required<Props>;
|
||
|
export declare function useProps(props: Pick<ISelectV2Props, 'props'>): {
|
||
|
aliasProps: import("vue").ComputedRef<{
|
||
|
label: string;
|
||
|
value: string;
|
||
|
disabled: string;
|
||
|
options: string;
|
||
|
}>;
|
||
|
getLabel: (option: Option) => any;
|
||
|
getValue: (option: Option) => any;
|
||
|
getDisabled: (option: Option) => any;
|
||
|
getOptions: (option: Option) => any;
|
||
|
};
|