mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Refactor comment cards out of comment section
This commit is contained in:
17
components/BeerById/CommentLoadingCardBody.tsx
Normal file
17
components/BeerById/CommentLoadingCardBody.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
const CommentLoadingCardBody = () => {
|
||||
return (
|
||||
<div className="card-body h-64">
|
||||
<div className="flex animate-pulse space-x-4">
|
||||
<div className="flex-1 space-y-4 py-1">
|
||||
<div className="h-4 w-3/4 rounded bg-base-200" />
|
||||
<div className="space-y-2">
|
||||
<div className="h-4 rounded bg-base-200" />
|
||||
<div className="h-4 w-5/6 rounded bg-base-200" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CommentLoadingCardBody;
|
||||
Reference in New Issue
Block a user