added content parser

This commit is contained in:
Ren Amamiya
2023-04-16 17:21:02 +07:00
parent 3aeb70f234
commit 00e28529dd
6 changed files with 88 additions and 226 deletions

View File

@@ -1,8 +1,6 @@
import { memo } from 'react';
export const Placeholder = memo(function Placeholder() {
export const Placeholder = () => {
return (
<div className="relative z-10 flex h-min animate-pulse select-text flex-col py-5 px-3">
<div className="relative z-10 flex h-min animate-pulse select-text flex-col px-3 py-5">
<div className="flex items-start gap-2">
<div className="relative h-11 w-11 shrink overflow-hidden rounded-md bg-zinc-700" />
<div className="flex w-full flex-1 items-start justify-between">
@@ -27,4 +25,4 @@ export const Placeholder = memo(function Placeholder() {
</div>
</div>
);
});
};