Blog V1 (functionnal)

Need to clean TS code / replace placeholders / Design V1 to-do
This commit is contained in:
Michael
2022-01-17 21:59:55 +01:00
parent 689aeec8eb
commit 8aede6e33e
28 changed files with 1271 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
type Properties = {
content: string;
};
const PostBody = ({ content }: Properties): JSX.Element => {
return (
<div className="max-w-2xl mx-auto">
<div dangerouslySetInnerHTML={{ __html: content }} />
</div>
);
};
export default PostBody;