import React from "react"; export declare const enum Color { neutral = "neutral", primary = "primary", danger = "danger" } export type IconButtonOwnProps = { icon: React.ReactElement; className?: string; component?: E; /** * Type attribute applied when the `component` is `button` * @default 'button' */ type?: React.ButtonHTMLAttributes['type']; /** * If `true`, the component is disabled * @default false */ disabled?: boolean; /** * Transform Button to anchor Element */ href?: string; /** * If `_blank` add the atribute ref=`noopener`for safety reasons */ target?: React.AnchorHTMLAttributes["target"]; color?: keyof typeof Color; sx?: React.CSSProperties & any; }; export type IconButtonProps = IconButtonOwnProps & Omit, keyof IconButtonOwnProps>;