Version: 3.2.1

Image

Generic Image components from React Native.

Implements#

Examples#

Basic#

Sizes#

Border Radius#

Fallback#

Basic (With Ref)#

Props#

Name Type Description Default
source ImageSourcePropType specify a source for image. -
alt string The alt text that describes the image. This will be added as accessibilityLabel in android/iOS and alt on web -
fallbackSource ImageSourcePropType In event there was an error loading the src, specify a fallback source. -
ignoreFallback boolean Opt out of the fallbackSource logic and show alternative text -
_alt ITextProps Text styling for alt. -
fallbackElement Element | Element[] In event there was an error loading the src, specify a fallback JSX Element. -
src string specify a source for image. -

Image implements PlatformProps, Image from React Native, BorderProps, LayoutProps, ColorProps, TypographyProps, ShadowProps, PositionProps, FlexProps, BackgroundProps