UNPKG

@bitrix24/b24ui-nuxt

Version:

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

41 lines (40 loc) 1.61 kB
import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/prose/collapsible'; import type { IconComponent, CollapsibleProps } from '../../types'; import type { ComponentConfig } from '../../types/tv'; type ProseCollapsible = ComponentConfig<typeof theme, AppConfig, 'collapsible', 'b24ui.prose'>; export interface ProseCollapsibleProps { /** * The icon displayed to toggle the collapsible. * @defaultValue icons.chevronDown */ icon?: IconComponent; /** * The name displayed in the trigger label. * @defaultValue t('prose.collapsible.name') */ name?: string; /** * The text displayed when the collapsible is open. * @defaultValue t('prose.collapsible.openText') */ openText?: string; /** * The text displayed when the collapsible is closed. * @defaultValue t('prose.collapsible.closeText') */ closeText?: string; class?: any; b24ui?: ProseCollapsible['slots'] & CollapsibleProps['b24ui']; } export interface ProseCollapsibleSlots { default(props?: {}): any; } declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProseCollapsibleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProseCollapsibleProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProseCollapsibleSlots>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };