@marqroldan/react-native-image-capinsets
v0.1.7
Published
android support for Image `capInsets`. Continued development under RN 0.60 react-native-imagecapinsets package.
Downloads
3
Maintainers
Readme
React Native ImageCapInset
Support Image capInsets for Android
Example
import ImageCapInset from 'rn-imagecapinsets';
import BubbleImage from './images/bubble.png';
<ImageCapInset source={BubbleImage}
capStyle={{
top: -14,
bottom: -26,
left: -16,
right: -24,
}}
capInsets={{ top: 8, right: 8, bottom: 8, left: 8 }} />
Credits
Continued development under RN 0.60 react-native-image-capinsets package.