& {
+ icon: string;
+ label: string;
+ active?: boolean;
+ type?: "button" | "submit" | "reset";
+ };
+
let {
icon,
label,
active = false,
disabled = false,
- }: {
- icon: string;
- label: string;
- active?: boolean;
- disabled?: boolean;
- } = $props();
+ type = "button",
+ class: className = "",
+ ...buttonProps
+ }: IconButtonProps = $props();
-