@nextcloud/vue
Version:
Nextcloud vue components
33 lines (32 loc) • 1.4 kB
TypeScript
import { Slot } from 'vue';
type __VLS_Props = {
/**
* Key name or symbol to display.
* For common special keys (CTRL, ALT, SHIFT, Arrow keys, etc.) it will display the symbol on macOS and the localized name on Windows/Linux.
*/
symbol?: 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight' | 'Control' | 'Alt' | 'Shift' | 'Enter' | 'Space' | 'Tab' | 'Delete' | 'Escape' | (string & {});
/**
* Explicitly use macOS (true) or Windows/Linux (false) key symbols.
* By default it uses the OS detected from the user agent.
*/
mac?: boolean | undefined;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
default?: Slot;
}> & {
default?: Slot;
};
refs: {};
rootEl: HTMLElement;
};
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, {}, HTMLElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};