UNPKG

@bitrix24/b24ui-nuxt

Version:

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

34 lines (33 loc) 1.27 kB
import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/advice'; import type { UseComponentIconsProps } from '../composables/useComponentIcons'; import type { ComponentConfig } from '../types/utils'; 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 { leading(props?: {}): any; default(props?: {}): any; } declare const _default: __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>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };