@nextcloud/vue
Version:
Nextcloud vue components
46 lines (45 loc) • 1.58 kB
TypeScript
import { Slot } from 'vue';
type __VLS_Props = {
/** Main label */
label?: string;
/** Optional description below the label, also used for the aria-describedby */
description?: string;
/** Disabled state */
disabled?: boolean;
};
type __VLS_PublicProps = {
modelValue: boolean;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
/** Custom label content */
default?: Slot;
/** Custom description content */
description?: Slot;
}> & {
/** Custom label content */
default?: Slot;
/** Custom description content */
description?: Slot;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: boolean) => any;
enable: () => any;
disable: () => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
onEnable?: (() => any) | undefined;
onDisable?: (() => 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;
};
};