@plteam/chat-ui
Version:
CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript
16 lines (15 loc) • 944 B
TypeScript
import * as React from 'react';
import { BoxProps } from '@mui/material/Box';
import { SlotValue } from '../../core/usePropsSlots';
type Props = {
text: string;
id?: string;
rootComponent: SlotValue<BoxProps>;
rootComponentProps: BoxProps | undefined;
inProgress: boolean;
};
export declare const ChatMarkdownBlockRoot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
declare const MessageMarkdownBlock: React.FC<Props>;
export default MessageMarkdownBlock;