Skip to main content
Version: 0.60

Reference

Propsโ€‹

borderTopRightRadiusโ€‹

TypeRequired
numberNo

backfaceVisibilityโ€‹

TypeRequired
enum('visible', 'hidden')No

borderBottomLeftRadiusโ€‹

TypeRequired
numberNo

borderBottomRightRadiusโ€‹

TypeRequired
numberNo

borderColorโ€‹

TypeRequired
colorNo

borderRadiusโ€‹

TypeRequired
numberNo

borderTopLeftRadiusโ€‹

TypeRequired
numberNo

backgroundColorโ€‹

TypeRequired
colorNo

borderWidthโ€‹

TypeRequired
numberNo

opacityโ€‹

TypeRequired
numberNo

overflowโ€‹

TypeRequired
enum('visible', 'hidden')No

resizeModeโ€‹

TypeRequired
enum('cover', 'contain', 'stretch', 'repeat', 'center')No

tintColorโ€‹

Changes the color of all the non-transparent pixels to the tintColor.

TypeRequired
colorNo

overlayColorโ€‹

When the image has rounded corners, specifying an overlayColor will cause the remaining space in the corners to be filled with a solid color. This is useful in cases which are not supported by the Android implementation of rounded corners:

  • Certain resize modes, such as 'contain'
  • Animated GIFs

A typical way to use this prop is with images displayed on a solid background and setting the overlayColor to the same color as the background.

For details of how this works under the hood, see https://frescolib.org/docs/rounded-corners-and-circles.html

TypeRequiredPlatform
stringNoAndroid