import React from "react"; import { View, ViewProps } from "react-native"; import { IconName } from "../Icon"; export type IconButtonProps = { /** * Name of the icon. */ name: IconName; /** * Size of the icon. */ iconSize?: number; /** * Color theme of the icon button. */ color?: "primary" | "secondary" | "danger"; /** * Button variant. This value works with the `color` prop to set the theming of the button. */ variant?: "contained" | "outlined" | "ghost"; /** * Boolean value indicating whether or not the button should be in its busy state. */ busy?: boolean; /** * Boolean value indicating whether or not the button should be in its disabled state. */ disabled?: boolean; /** * Callback method invoked when the user presses outside the child content. */ onPress?: () => void; }; export declare const IconButton: React.ForwardRefExoticComponent>;