22 lines
642 B
TypeScript
22 lines
642 B
TypeScript
import type { SelectV2Props } 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<SelectV2Props, '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;
|
|
};
|