🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@marqroldan/react-native-image-capinsets

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marqroldan/react-native-image-capinsets

android support for Image `capInsets`. Continued development under RN 0.60 react-native-imagecapinsets package.

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

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.

Keywords

capInsets

FAQs

Package last updated on 28 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts