refactor: replace div with Card component
This commit is contained in:
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user