mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 09:17:54 +00:00
Blog V1 (functionnal)
Need to clean TS code / replace placeholders / Design V1 to-do
This commit is contained in:
13
components/blog/post-body.tsx
Normal file
13
components/blog/post-body.tsx
Normal 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;
|
||||
Reference in New Issue
Block a user