add table card

This commit is contained in:
Sir Blob
2025-01-25 17:42:56 -05:00
parent 97b8cc1f83
commit eee2b6a912

View File

@@ -9,10 +9,13 @@ import {
TableRow, TableRow,
} from "@/components/ui/table" } from "@/components/ui/table"
export function MedicationTable({medications}) { import { Card, CardContent } from "@/components/ui/card"
export function MedicationTable({ medications }) {
return ( return (
<div className="rounded-md border"> <Card className="rounded-md border">
<CardContent>
<Table> <Table>
<TableHeader> <TableHeader>
<TableRow> <TableRow>
@@ -31,6 +34,7 @@ export function MedicationTable({medications}) {
))} ))}
</TableBody> </TableBody>
</Table> </Table>
</div> </CardContent>
</Card>
) )
} }