rn-imagecapinsets
v0.0.6
Published
Support Image capInsets for Android
Downloads
4
Maintainers
Readme
React Native ImageCapInset
Support Image capInsets for Android (only for RN >= 0.56)
Installation
yarn add react-native-imagecapinsets
react-native link react-native-imagecapinsets
Example
import ImageCapInset from 'rn-imagecapinsets';
import BubbleImage from './images/bubble.png';
<ImageCapInset source={BubbleImage}
capInsets={{ top: 8, right: 8, bottom: 8, left: 8 }} />
Credits
Continued development under RN 0.56 react-native-image-capinsets package.