use body styles for rich text block and separate component
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
export const RichTextBlock = ({ block }: any) => {
|
||||
return (
|
||||
<div
|
||||
className="rich-text-block"
|
||||
dangerouslySetInnerHTML={{ __html: block.value }}
|
||||
></div>
|
||||
);
|
||||
};
|
||||
import { RichTextBlock } from "./RichTextBlock";
|
||||
|
||||
export const Blocks = ({ blocks }: any) => {
|
||||
return blocks.map((block: any) => {
|
||||
|
Reference in New Issue
Block a user