@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
39 lines (38 loc) • 1.19 kB
TypeScript
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/b24ui/kbd';
import type { KbdKey } from '../composables/useKbd';
import type { ComponentConfig } from '../types/utils';
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 _default: __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>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};