UNPKG

@ownclouders/design-system

Version:

ownCloud Design System is based on VueDesign Systems and is used to design ownCloud UI components

43 lines (42 loc) 1.38 kB
/** * @component OcTableSimple * @description A simple table component with manually built layout * @status ready * @release 2.1.0 * * @example * <oc-table-simple :hover="true"> * <oc-thead> * <oc-tr> * <oc-th>Resource</oc-th> * <oc-th>Last modified</oc-th> * </oc-tr> * </oc-thead> * <oc-tbody> * <oc-tr v-for="item in items" :key="'item-' + item.id"> * <oc-td>{{ item.resource }}</oc-td> * <oc-td>{{ item.last_modified }}</oc-td> * </oc-tr> * </oc-tbody> * </oc-table-simple> */ interface Props { hover?: boolean; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; }; refs: {}; rootEl: HTMLTableElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };