import React from 'react';

const TechNuggets = ({ tech }) => {
    return (
      <div className="flex gap-2 mt-2 flex-wrap">
        {tech.map((item, index) => (
          <div className="px-4 py-1 text-white text-p whitespace-nowrap font-medium bg-[#9FA2DD] rounded-lg" key={index}>{item}</div>
            ))}
      </div>
    );
};

export default TechNuggets;
