import { Icon, Icons } from "@/components/Icon"; export interface IconPatchProps { active?: boolean; onClick?: () => void; clickable?: boolean; className?: string; icon: Icons; transparent?: boolean; } export function IconPatch(props: IconPatchProps) { const clickableClasses = props.clickable ? "cursor-pointer hover:scale-110 hover:bg-denim-600 hover:text-white active:scale-125" : ""; const transparentClasses = props.transparent ? "bg-opacity-0 hover:bg-opacity-50" : ""; const activeClasses = props.active ? "border-bink-600 bg-bink-100 text-bink-600" : ""; return (
); }