import { ImageStyle } from 'react-native-fast-image'; import { StyleProp } from 'react-native'; export type IconProps = { /** * Represents the identifier or the path for the icon image source. * It is a required property. */ source: string; /** * Optional. Represents the size of the icon. * It can be used to set the width and height of the icon. */ size?: number; /** * Optional. Represents the color of the icon. */ color?: string | null; /** * Optional. Used to apply custom styling to the Icon component. * Accepts an object of style properties. */ style?: StyleProp; /** * Optional. Represents the accessibility label for the icon. */ accessibilityLabel?: string; };