UNPKG

@nextcloud/vue

Version:
70 lines (69 loc) 2.23 kB
import { Slot } from 'vue'; type __VLS_Props = { /** * Desription of the empty content * * @example 'No comments yet, start the conversation!' */ description?: string; /** * A header message about an empty content shown. * * @example 'No comments' */ name?: string; }; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ /** * Optional slot for a button or the like */ action?: Slot; /** * Optional slot for adding an icon */ icon?: Slot; /** * Allow to add custom formatted name as an alternative to the name property. * The content passed shall be enclosed by a header element. */ name?: Slot; /** * Optional formatted description rendered inside a paragraph as an alternative to the description property. */ description?: Slot; }> & { /** * Optional slot for a button or the like */ action?: Slot; /** * Optional slot for adding an icon */ icon?: Slot; /** * Allow to add custom formatted name as an alternative to the name property. * The content passed shall be enclosed by a header element. */ name?: Slot; /** * Optional formatted description rendered inside a paragraph as an alternative to the description property. */ description?: Slot; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { name: string; description: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };