import { BlockQuote, BulletList, CodeBlock, DotImage, Heading, ListItem, OrderedList, Paragraph, TextNode, } from "./blocks"; /* dotCMS Block Editor is a new rich content editor that allows you to create your content as building blocks. More info: https://dotcms.com/docs/latest/block-editor */ export const ContentBlocks = ({ content }) => { return ( <> {content?.map((data, index) => { switch (data.type) { case "paragraph": return ( ); case "heading": return ( ); case "bulletList": return ( ); case "orderedList": return ( ); case "dotImage": return ; case "horizontalRule": return
; case "blockquote": return (
); case "codeBlock": return ( ); case "hardBreak": return
; case "text": return ; case "listItem": return ( ); default: return

Block not supported

; } })} ); };