import React from 'react';

const Card = ({ title, children, className = "" }) => {
  return (
    <div className={`card ${className}`}>
      {title && <h3>{title}</h3>}
      <div className="card-content">
        {children}
      </div>
    </div>
  );
};

export default Card;
