1
0
Fork 0
This repository has been archived on 2024-09-27. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
bearlypassing/frontend/src/components/dashboard/DashboardCard.tsx

18 lines
471 B
TypeScript
Raw Normal View History

2024-09-27 11:17:53 +01:00
import Col from "react-bootstrap/Col";
import Card from "react-bootstrap/Card";
import {ReactNode} from "react";
/**
* Wrapper component for dashboard cards. Formats children into the card body
*/
export default function DashboardCard({children}: { children: ReactNode }) {
return (
<Col>
<Card className="h-100">
<Card.Body>
{children}
</Card.Body>
</Card>
</Col>
)
}