| 1 | interface CardProps extends React.ComponentProps<"div"> { |
| 2 | children: React.ReactNode; |
| 3 | } |
| 4 | |
| 5 | export function Card({ children, className = "", ...props }: CardProps) { |
| 6 | return ( |
| 7 | <div |
| 8 | className={`bg-editor rounded-default space-y-0 px-4 py-3 ${className}`} |
| 9 | {...props} |
| 10 | > |
| 11 | {children} |
| 12 | </div> |
| 13 | ); |
| 14 | } |