@nextcloud/vue
Version:
Nextcloud vue components
45 lines (44 loc) • 1.51 kB
TypeScript
import { Slot } from 'vue';
type __VLS_Props = {
/**
* Label for the hotkey
*/
label?: string;
/**
* Hotkey combination string separated by space, for example, `Control Alt T` or `F2` (see `<NcKbd>` for supported key names)
*/
hotkey?: string;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
/**
* Custom label content
*/
default?: Slot;
/**
* Custom hotkey content for an advanced hotkey layout with <NcKbd> components or other custom content
*/
hotkey?: Slot;
}> & {
/**
* Custom label content
*/
default?: Slot;
/**
* Custom hotkey content for an advanced hotkey layout with <NcKbd> components or other custom content
*/
hotkey?: Slot;
};
refs: {};
rootEl: HTMLLIElement;
};
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, {}, HTMLLIElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};