IMGElementStateError
export
interface IMGElementStateError {Â Â alt?: string;Â Â altColor?: string;Â Â containerStyle: ViewStyle;Â Â dimensions: ImageDimensions;Â Â error: Error;Â Â source: ImageURISource;Â Â type: "error";}State when the image could not be loaded.
Fields#
alt#
optional
alt?: string;Alt text extract from alt attribute.
altColor#
optional
altColor?: string;Alt color, defaults to color for this ​TNode.
containerStyle#
required
containerStyle: ViewStyle;Styles of the container.
dimensions#
required
Physical dimensions of the image
error#
required
error: Error;source#
required
source: ImageURISource;The source to paint.
type#
required
type: "error";