Skip to main content

IMGElementProps

export
type IMGElementProps<
> = any

Fields​

alt​

alt?: string;

altColor​

altColor?: string;

cachedNaturalDimensions​

cachedNaturalDimensions?: ImageDimensions;

computeMaxWidth​

computeMaxWidth?: function __type(
  contentWidth: number
) : number;

containerProps​

containerProps?: Omit<ViewProps, "style">;

contentWidth​

contentWidth?: number;

enableExperimentalPercentWidth​

enableExperimentalPercentWidth?: boolean;

height​

height?: string | number;

initialDimensions​

initialDimensions?: ImageDimensions;

objectFit​

objectFit?: ObjectFit;

onPress​

onPress?: function __type(
  event: GestureResponderEvent
) : void | null;

source​

source: ImageURISource;

style​

style?: StyleProp<ImageStyle>;

testID​

testID?: string;

width​

width?: string | number;