| Class | Properties |
|---|---|
| t.resizeContain | resizeMode: 'contain' |
| t.resizeCover | resizeMode: 'cover' |
| t.resizeStretch | resizeMode: 'stretch' |
| t.resizeCenter | resizeMode: 'center' |
| t.resizeRepeat | resizeMode: 'repeat' |
Usage
In React Native the reziseMode property is used to control how the contents of an image are scaled to fit the image’s container. It is the equivalent of the object-fit CSS property.