🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@vesselsoft/react-native-shadow

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vesselsoft/react-native-shadow

React Native Shadow View for Android

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
1
Created
Source

@vesselsoft/react-native-shadow

React Native Shadow View for Android based on L-Briand/ShadowLayout library. Use default RN View component for ios fallback.

Installation

yarn add @vesselsoft/react-native-shadow

Usage

import { Text } from 'react-native';
import { ShadowView, ShadowText } from '@vesselsoft/react-native-shadow';

// ...

<ShadowView
  style={{
    shadowColor: '#000',
    shadowOffset: {
      width: 0,
      height: 1,
    },
    shadowOpacity: 0.18,
    shadowRadius: 1.0,
  }}
>
  <ShadowText>Hello World!</ShadowText>
</ShadowView>;

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

react-native

FAQs

Package last updated on 31 Dec 2022

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