UNPKG

@bitrix24/b24ui-nuxt

Version:

Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE

33 lines (32 loc) 1.27 kB
import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import type { IconComponent, LinkProps } from '../../types'; import type { ComponentConfig } from '../../types/tv'; import theme from '#build/b24ui/prose/card'; type ProseCard = ComponentConfig<typeof theme, AppConfig, 'card', 'b24ui.prose'>; export interface ProseCardProps { to?: LinkProps['to']; target?: LinkProps['target']; icon?: IconComponent; iconName?: string; title?: string; description?: string; /** * @defaultValue 'air-primary' */ color?: ProseCard['variants']['color']; class?: any; b24ui?: ProseCard['slots']; } export interface ProseCardSlots { default(props?: {}): VNode[]; title(props?: {}): VNode[]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProseCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProseCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProseCardSlots>; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };