import type { StyleProp, ViewStyle } from 'react-native'; import type { MaterialIconName } from './catalogue'; import type { SizeProp } from '../../tokens/size'; import type { SxProps } from '../../types/shared'; /** The five Google Fonts Material Icon style variants. */ export type IconVariant = 'filled' | 'outlined' | 'rounded' | 'sharp' | 'two-tone'; /** Props for the MaterialIcon component. */ export interface MaterialIconProps { /** Icon name from the Google Fonts Material Icons catalogue. */ name: MaterialIconName; /** Icon style variant. Defaults to 'filled'. */ variant?: IconVariant; /** Icon size: numeric dp or semantic token ('small'→16, 'medium'→20, 'large'→24). */ size?: SizeProp | number; /** Icon color. Defaults to theme `colorScheme.onSurface`. */ color?: string; /** Accessible label. Sets `accessibilityRole="image"` when provided. */ accessibilityLabel?: string; /** Test id for automated queries. */ testID?: string; sx?: SxProps; style?: StyleProp; } //# sourceMappingURL=types.d.ts.map