perplexity-hackathon-LawMitra / perplexity_hackathon / src / components / shared / Card.tsx
Card.tsx
Raw
import React from 'react';

interface CardProps {
  children: React.ReactNode;
  className?: string;
}

export function Card({ children, className = '' }: CardProps) {
  return (
    <div className={`rounded-lg p-4 shadow-sm ${className}`}>{children}</div>
  );
}