Files
cal.diy/packages/features/insights/components/Card.tsx
T
2023-04-03 14:08:17 +02:00

17 lines
347 B
TypeScript

import { Card } from "@tremor/react";
interface ICardProps {
children: React.ReactNode;
className?: string;
}
export const CardInsights = (props: ICardProps) => {
const { children, className = "", ...rest } = props;
return (
<Card className={`shadow-none ring-gray-300 ${className}`} {...rest}>
{children}
</Card>
);
};