import React from "react"; import { ViewProps } from "react-native"; import { PaletteColor } from "./base"; import { PressableProps } from "./Pressable"; export interface IconButtonProps extends Omit, Omit { /** * The element to render as the icon. */ icon?: React.ReactNode | ((props: { color: string; size: number; }) => React.ReactNode | null) | null; /** * The color of the icon and the press effect. * * @default "onBackground" */ color?: PaletteColor; /** * The style of the icon's container view. */ contentContainerStyle?: PressableProps["style"]; } declare const IconButton: React.FC; export default IconButton;