diff --git a/frontend/src/components/common/Card.tsx b/frontend/src/components/common/Card.tsx index 5d36980..85dad88 100644 --- a/frontend/src/components/common/Card.tsx +++ b/frontend/src/components/common/Card.tsx @@ -1,9 +1,8 @@ import React from 'react'; -interface CardProps { +interface CardProps extends React.HTMLAttributes { children: React.ReactNode; title?: string; - className?: string; padding?: 'none' | 'sm' | 'md' | 'lg'; } @@ -12,6 +11,7 @@ export const Card: React.FC = ({ title, className = '', padding = 'md', + ...props }) => { const paddingStyles = { none: '', @@ -21,7 +21,7 @@ export const Card: React.FC = ({ }; return ( -
+
{title && (

{title}