Spaces:
Running
Running
| 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> | |
| ); | |
| }; | |