import type * as MessageParser from '@rocket.chat/message-parser'; import ParagraphBlock from './ParagraphBlock'; export type QuoteBlockProps = { children: MessageParser.Paragraph[]; }; const QuoteBlock = ({ children }: QuoteBlockProps) => (
{children.map((paragraph, index) => ( {paragraph.value} ))}
); export default QuoteBlock;