@nextcloud/vue
Version:
Nextcloud vue components
65 lines (64 loc) • 1.88 kB
TypeScript
import { Slot } from 'vue';
type __VLS_Props = {
/**
* Group label #label slot can be used for custom label content
*/
label?: string;
/**
* Optional fieldset description. #description slot can be used for custom description content
*/
description?: string;
/**
* Hide the label visually but keep it accessible for screen readers
*/
hideLabel?: boolean;
/**
* Hide the description visually but keep it accessible for screen readers
*/
hideDescription?: boolean;
/**
* Disable default fieldset content gap between content elements
*/
noGap?: boolean;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
/**
* Content
*/
default?: Slot;
/**
* Custom label content
*/
label?: Slot;
/**
* Custom description content
*/
description?: Slot;
}> & {
/**
* Content
*/
default?: Slot;
/**
* Custom label content
*/
label?: Slot;
/**
* Custom description content
*/
description?: Slot;
};
refs: {};
rootEl: HTMLFieldSetElement;
};
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};