Skip to main content

UseIMGElementStateProps

export
type UseIMGElementStateProps<
> = any

Fields

alt

alt?: string;

altColor

altColor?: string;

cachedNaturalDimensions

cachedNaturalDimensions?: ImageDimensions;

computeMaxWidth

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

contentWidth

contentWidth?: number;

enableExperimentalPercentWidth

enableExperimentalPercentWidth?: boolean;

height

height?: string | number;

initialDimensions

initialDimensions?: ImageDimensions;

objectFit

objectFit?: ObjectFit;

source

source: ImageURISource;

style

style?: StyleProp<ImageStyle>;

width

width?: string | number;