import { ButtonHTMLAttributes, ComponentType, forwardRef } from "react";
import { LucideProps } from "lucide-react";
import { cn } from "@/lib/cn";
type Props = ButtonHTMLAttributes & {
icon: ComponentType;
iconSize?: number;
iconClassName?: string;
};
export const IconButton = forwardRef(function IconButton(
{ icon: Icon, iconSize = 17, iconClassName, className, type = "button", ...props },
ref,
) {
return (
);
});