DRY & KISS Principles

In the context of React components, how does this implementation violate the DRY principle?
function UserProfile({ user }) {
  return (
    <div className="card p-4 shadow rounded-lg">
      <h2 className="text-xl font-bold mb-2">{user.name}</h2>
      <p className="text-gray-600 mb-4">{user.bio}</p>
    </div>
  );
}

function ProductCard({ product }) {
  return (
    <div className="card p-4 shadow rounded-lg">
      <h2 className="text-xl font-bold mb-2">{product.name}</h2>
      <p className="text-gray-600 mb-4">{product.description}</p>
    </div>
  );
}
Next Question (9/20)