import React from 'react'; import { ViewStyle, Insets, StyleProp } from 'react-native'; import { IconType } from '../Icon'; import { SpacingProps } from '../../../theme'; import { TestableProps } from '../../common/test'; import type { PressEvents } from '../../common/events'; import { type ShadowProps } from '../../common/shadow'; import { type GradientProps } from '../../common/gradient'; import { type BoxProps } from '../../common/box'; export interface IconButtonProps extends SpacingProps, TestableProps, PressEvents, ShadowProps, GradientProps, BoxProps { name: string; type?: IconType; size?: number; color?: 'primary' | 'secondary' | 'text' | 'textSecondary' | 'textDisabled' | 'error' | 'warning' | 'success' | 'info' | string; variant?: 'filled' | 'ghost' | 'outline'; disabled?: boolean; loading?: boolean; style?: StyleProp; hitSlop?: Insets; accessibilityLabel?: string; animationName?: 'none' | 'rotate'; animationIterations?: number; testID?: string; } /** * 图标按钮组件:支持阴影预设与渐变背景 * 修复:正确使用样式预设的阴影(styles.shadow) */ declare const IconButton: React.FC; export default IconButton; //# sourceMappingURL=IconButton.d.ts.map