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.

0.1.7
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.