@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
41 lines (40 loc) • 1.56 kB
text/typescript
import type { VNode } from 'vue';
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/b24ui/prose/prompt';
import type { IconComponent } from '../../types';
import type { ComponentConfig } from '../../types/tv';
type ProsePrompt = ComponentConfig<typeof theme, AppConfig, 'prompt', 'b24ui.prose'>;
export interface ProsePromptProps {
description?: string;
/**
* Icon component to render. Pass an imported component, not a string;
* for string names use `iconName` instead.
* @IconComponent
*/
icon?: IconComponent;
/**
* Resolved through the icon registry (`dictionary/iconRegistry.ts`)
* with a fallback to short aliases (`dictionary/icons.ts`).
* Ignored when `icon` is set.
*/
iconName?: string;
/**
* @defaultValue ['copy']
*/
actions?: ('copy' | 'cursor' | 'windsurf')[];
class?: any;
b24ui?: ProsePrompt['slots'];
}
export interface ProsePromptSlots {
default(props?: {}): VNode[];
}
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProsePromptProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProsePromptProps> & Readonly<{}>, {
actions: ("copy" | "cursor" | "windsurf")[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProsePromptSlots>;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};