All files / src/components/TabsComponent TabContent.tsx

0% Statements 0/6
100% Branches 0/0
0% Functions 0/2
0% Lines 0/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24                                               
import IntegrationCard from "../common/IntegrationCard";
 
const TabContent = (props: any) => {
  const { id, title, cards } = props;
 
  return (
    <div className="font-light text-base max-w-full" key={id}>
      <div className="flex items-center mx-5 max-w-full gap-2">
        <h1 className="text-gray-400 text-sm shrink-0">{title}</h1>
        <hr className="border-t-gray-200 flex-1" />
      </div>
      <div className="mt-4">
        <div className="flex flex-wrap">
          {cards?.map((card, index) => (
            <IntegrationCard key={index} data={card} />
          ))}
        </div>
      </div>
    </div>
  );
};
 
export default TabContent;