"use client"; /* * Documentation: * Icon Button — https://app.subframe.com/f023064a5ca0/library?component=Icon+Button_af9405b1-8c54-4e01-9786-5aad308224f6 */ import React from "react"; import { FeatherPlus } from "@subframe/core"; import * as SubframeCore from "@subframe/core"; import * as SubframeUtils from "../../utils"; export interface IconButtonRootProps extends React.ButtonHTMLAttributes { disabled?: boolean; loading?: boolean; variant?: | "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "destructive" | "success" | "warning" | "information"; size?: "large" | "medium" | "small" | "extra-small" | "2-x-small"; square?: boolean; icon?: React.ReactNode; onClick?: (event: React.MouseEvent) => void; className?: string; } const IconButtonRoot = React.forwardRef( function IconButtonRoot( { disabled = false, loading = false, variant = "primary", size = "medium", square = false, icon = , className, type = "button", ...otherProps }: IconButtonRootProps, ref ) { return ( ); } ); export const IconButton = IconButtonRoot;