@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
37 lines (36 loc) • 1.19 kB
text/typescript
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;
}
export interface KbdSlots {
default(props?: {}): any;
}
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<KbdProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KbdProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, KbdSlots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};