vuux
Version:
Vue3 Nuxt3 Nuxt4 组件库
32 lines (31 loc) • 1.09 kB
TypeScript
import { Item, Props } from './types';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
splitButtonEl: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
}>, {
type: "primary" | "warning" | "danger" | "success";
size: "m" | "l" | "xl";
shadow: boolean;
items: Item[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
splitButtonEl: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};