import type { ButtonHTMLAttributes, ReactNode } from "react"; import { cn } from "../../lib/cn"; import { Button, type ButtonTone } from "../button"; export type IconButtonProps = ButtonHTMLAttributes & { icon: ReactNode; label: string; tone?: ButtonTone; }; export function IconButton({ className, icon, label, tone = "secondary", type = "button", ...props }: IconButtonProps) { return (