@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
22 lines (21 loc) • 660 B
JavaScript
import * as React from 'react';
import { styled } from '@mui/material/styles';
const BlockquoteStyled = styled('blockquote')(({ theme }) => ({
margin: 0,
'p': {
whiteSpace: 'break-spaces',
display: 'flex',
gap: theme.spacing(2),
'&::before': {
display: 'inline-block',
content: '""',
height: 'inherit',
width: 2,
backgroundColor: theme.palette.primary.light,
}
},
}));
const MessageMarkdownBlockquote = (props) => {
return (React.createElement(BlockquoteStyled, { ...props }));
};
export default MessageMarkdownBlockquote;