@bothub-chat/ui
Version:
Bothub UI Components
9 lines (8 loc) • 466 B
TypeScript
import { MessageImageProps, MessageMultilineCodeProps } from '@/ui/components/message/components';
import { MessageMarkdownLine } from '../markdown/styled';
export declare function markdownComponents(): Partial<React.ComponentProps<typeof MessageMarkdownLine>['components']> & {
code?: Partial<MessageMultilineCodeProps>;
image?: Omit<Partial<MessageImageProps>, 'buttons'> & {
buttons?: (imageProps: MessageImageProps) => React.ReactNode;
};
};