UNPKG

@bitrix24/b24ui-nuxt

Version:

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

38 lines (37 loc) 1.4 kB
import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/advice'; import type { UseComponentIconsProps } from '../composables/useComponentIcons'; import type { ComponentConfig } from '../types/tv'; type Advice = ComponentConfig<typeof theme, AppConfig, 'advice'>; export interface AdviceProps extends Omit<UseComponentIconsProps, 'loading' | 'trailing' | 'trailingIcon'> { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; description?: string; /** * @defaultValue 'bottom' */ angle?: Advice['variants']['angle']; class?: any; b24ui?: Advice['slots']; } export interface AdviceSlots { default?(props?: {}): VNode[]; leading?(props: { b24ui: Advice['b24ui']; }): VNode[]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AdviceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AdviceProps> & Readonly<{}>, { as: any; angle: Advice["variants"]["angle"]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AdviceSlots>; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };