* refactor: Move classNames from @calcom/lib to @calcom/ui * Import fix * Removed extra import of classNames * Removed tailwind-merge from @calcom/lib
19 lines
414 B
TypeScript
19 lines
414 B
TypeScript
import { Card } from "@tremor/react";
|
|
|
|
import classNames from "@calcom/ui/classNames";
|
|
|
|
interface ICardProps {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
export const CardInsights = (props: ICardProps) => {
|
|
const { children, className = "", ...rest } = props;
|
|
|
|
return (
|
|
<Card className={classNames(`ring-subtle bg-muted shadow-none `, className)} {...rest}>
|
|
{children}
|
|
</Card>
|
|
);
|
|
};
|