Files
artcraft/app/components/Pill.tsx
T
2024-04-22 16:05:13 -04:00

18 lines
329 B
TypeScript

import { twMerge } from "tailwind-merge"
export const Pill = ({
className,
children,
}:{
className?: string,
children : React.ReactNode
})=>{
return (
<div className={twMerge(
"rounded-md text-xs font-bold bg-brand-primary py-0.5 px-1.5 w-fit",
className
)}>
{children}
</div>
)
}