refactor: replace div with Card component

This commit is contained in:
Maze Winther
2025-07-03 22:29:00 +02:00
parent b5af50b0d8
commit 37d684748f

View File

@ -1,9 +1,11 @@
import { Card } from "@/components/ui/card";
export function TextView() { export function TextView() {
return ( return (
<div className="p-4"> <div className="p-4">
<div className="p-3 bg-accent/50 rounded-lg flex items-center justify-center size-24"> <Card className="flex items-center justify-center size-24">
<span className="text-xs select-none">Default text</span> <span className="text-xs select-none">Default text</span>
</div> </Card>
</div> </div>
); );
} }