File size: 598 Bytes
9cd6ddb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export const Tag = ({
  label,
  children,
  className,
}: {
  label: string;
  children: any;
  className?: string;
}) => {
  return (
    <div
      className={`mx-auto max-w-max flex items-center justify-start rounded-full bg-white bg-opacity-20 transition-all duration-200 hover:bg-opacity-40 cursor-pointer gap-3 py-1 pl-1 pr-5 backdrop-blur-sm ${className}`}
    >
      <div className="text-xs rounded-full px-2.5 py-1 text-dark-default text-opacity-50 font-bold bg-green">
        {label}
      </div>
      <p className="text-white font-semibold text-sm">{children}</p>
    </div>
  );
};