mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
19 lines
369 B
TypeScript
19 lines
369 B
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
import classNames from 'classnames';
|
|
|
|
import { CLASSES } from '@/constants/classes';
|
|
|
|
// Dashboard card.
|
|
export function DashboardCard({ children, page }) {
|
|
return (
|
|
<div
|
|
className={classNames(CLASSES.DASHBOARD_CARD, {
|
|
[CLASSES.DASHBOARD_CARD_PAGE]: page,
|
|
})}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|