Files
reflector/www/appv2/src/components/ui/Card.tsx
2026-04-09 11:25:19 -05:00

20 lines
439 B
TypeScript

import React from 'react';
interface CardProps extends React.HTMLAttributes<HTMLDivElement> {}
export const Card = React.forwardRef<HTMLDivElement, CardProps>(
({ className = '', children, ...props }, ref) => {
return (
<div
ref={ref}
className={`bg-surface-highest rounded-md p-6 shadow-card ${className}`}
{...props}
>
{children}
</div>
);
}
);
Card.displayName = 'Card';