import React from "react";

interface LineSkeletonProps {
  lines?: number;
  className?: string;
}

const LineSkeleton: React.FC<LineSkeletonProps> = ({ lines = 3, className = "" }) => {
  return (
    <div className={`animate-pulse space-y-2 ${className}`}>
      {Array.from({ length: lines }).map((_, i) => (
        <div key={i} className="h-3 bg-gray-300 rounded w-full" />
      ))}
    </div>
  );
};

export default LineSkeleton;
