add table card
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user