@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
36 lines (35 loc) • 1.26 kB
text/typescript
import type { VNode } from 'vue';
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/b24ui/card';
import type { ComponentConfig } from '../types/tv';
type Card = ComponentConfig<typeof theme, AppConfig, 'card'>;
export interface CardProps {
/**
* The element or component this component should render as.
* @defaultValue 'div'
*/
as?: any;
title?: string;
description?: string;
/**
* @defaultValue 'outline'
*/
variant?: Card['variants']['variant'];
class?: any;
b24ui?: Card['slots'];
}
export interface CardSlots {
header?(props?: {}): VNode[];
title?(props?: {}): VNode[];
description?(props?: {}): VNode[];
default?(props?: {}): VNode[];
footer?(props?: {}): VNode[];
}
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CardSlots>;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};