UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

17 lines (12 loc) 427 B
import { FC } from 'react'; import { ARTIFACT_TAG } from '@/const/plugin'; import { MarkdownElement, MarkdownElementProps } from '../type'; import Component from './Render'; import rehypePlugin from './rehypePlugin'; const AntArtifactElement: MarkdownElement = { Component: Component as unknown as FC<MarkdownElementProps>, rehypePlugin, scope: 'assistant', tag: ARTIFACT_TAG, }; export default AntArtifactElement;