import { type StyleProp, type TextStyle, type View, type ViewStyle } from 'react-native'; import type { IconButtonVariant } from '@coinbase/cds-common/types/IconButtonBaseProps'; import type { IconName } from '@coinbase/cds-common/types/IconName'; import type { IconSize } from '@coinbase/cds-common/types/IconSize'; import type { SharedProps } from '@coinbase/cds-common/types/SharedProps'; import { type PressableBaseProps } from '../system/Pressable'; import { type ButtonBaseProps } from './Button'; export type IconButtonBaseProps = SharedProps & Omit & Pick< ButtonBaseProps, 'disabled' | 'transparent' | 'compact' | 'flush' | 'loading' | 'progressCircleSize' > & { /** Name of the icon, as defined in Figma. */ name: IconName; /** * Size for the icon rendered inside the button. * @default compact ? 's' : 'm' */ iconSize?: IconSize; /** Whether the icon is active */ active?: boolean; /** * Toggle design and visual variants. * @default primary */ variant?: IconButtonVariant; /** Custom styles for individual elements of the IconButton component */ styles?: { /** Root Pressable element */ root?: StyleProp; /** Inner icon glyph Text element */ icon?: StyleProp; /** Loading progress circle element */ progressCircle?: StyleProp; }; }; export type IconButtonProps = IconButtonBaseProps; export declare const IconButton: import('react').MemoExoticComponent< ({ ref, ..._props }: IconButtonProps & { ref?: React.Ref; }) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=IconButton.d.ts.map