@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
42 lines (41 loc) • 1.3 kB
TypeScript
import type { VNode } from 'vue';
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/b24ui/kbd';
import type { KbdKey } from '../composables/useKbd';
import type { ComponentConfig } from '../types/tv';
type Kbd = ComponentConfig<typeof theme, AppConfig, 'kbd'>;
/**
* @remove depth
*/
export interface KbdProps {
/**
* The element or component this component should render as.
* @defaultValue 'kbd'
*/
as?: any;
value?: KbdKey | string;
/**
* @defaultValue 'default'
*/
accent?: Kbd['variants']['accent'];
/**
* @defaultValue 'md'
*/
size?: Kbd['variants']['size'];
class?: any;
b24ui?: Kbd['slots'];
}
export interface KbdSlots {
default?(props?: {}): VNode[];
}
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<KbdProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KbdProps> & Readonly<{}>, {
accent: Kbd["variants"]["accent"];
as: any;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, KbdSlots>;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};