This commit is contained in:
Rogelio
2025-10-23 04:36:37 +00:00
commit 9cf2a7f223
1334 changed files with 525004 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import React from 'react';
export interface CardProps {
children: React.ReactNode;
className?: string;
padding?: 'none' | 'sm' | 'md' | 'lg';
}
export const Card: React.FC<CardProps> = ({
children,
className = '',
padding = 'md'
}) => {
const paddingClasses = {
none: '',
sm: 'p-3',
md: 'p-6',
lg: 'p-8'
};
return (
<div className={`bg-white rounded-xl shadow-lg border border-gray-200 ${paddingClasses[padding]} ${className}`}>
{children}
</div>
);
};
export default Card;