UNPKG

@nextcloud/vue

Version:
62 lines (61 loc) 2.18 kB
import { Slot } from 'vue'; import { VueClassType } from '../../utils/VueTypes.ts'; type __VLS_Props = { /** Interactive item element's tag */ tag: string; /** Main Label */ label?: string; /** Optional description below the label, also used for the aria-describedby */ description?: string; /** Accent on the description instead of the label */ invertedAccent?: boolean; /** Root element classes */ class?: VueClassType; /** Interactive item classes */ itemClasses?: VueClassType; }; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ /** Item's label custom content */ default?: Slot<{ /** IDRef of the description element if present */ descriptionId?: string; }>; /** Custom description content */ description?: Slot<{ /** IDRef of the description element if present */ descriptionId?: string; }>; /** Icon content */ icon?: Slot; }> & { /** Item's label custom content */ default?: Slot<{ /** IDRef of the description element if present */ descriptionId?: string; }>; /** Custom description content */ description?: Slot<{ /** IDRef of the description element if present */ descriptionId?: string; }>; /** Icon content */ icon?: Slot; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (event: MouseEvent) => any; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onClick?: ((event: MouseEvent) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };