@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
9 lines (8 loc) • 548 B
JavaScript
import * as React from 'react';
import Box from '@mui/material/Box';
import { chatClassNames } from '../core/chatClassNames';
const ThreadRootContainer = ({ id, ...boxProps }) => {
return (React.createElement(Box, { id: id, width: "100%", display: "flex", justifyContent: "center", height: "inherit", className: chatClassNames.threadRoot },
React.createElement(Box, { width: "100%", maxWidth: 760, display: "flex", flexDirection: "column", ...boxProps, className: boxProps.className })));
};
export default ThreadRootContainer;