19 lines
400 B
TypeScript
19 lines
400 B
TypeScript
import { Card } from "@tremor/react";
|
|
|
|
import { classNames } from "@calcom/lib";
|
|
|
|
interface ICardProps {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
export const CardInsights = (props: ICardProps) => {
|
|
const { children, className = "", ...rest } = props;
|
|
|
|
return (
|
|
<Card className={classNames("shadow-none ring-gray-200", className)} {...rest}>
|
|
{children}
|
|
</Card>
|
|
);
|
|
};
|