@blackplate/react-native-shadow-adapter
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

RN Shadow Adapter

Inspired by react-native-shadow-generator, this Library provides a simple way to keep react native shadows the same on both iOS and Android.

Usage

import {StyleSheet} from 'react-native';
import shadow from '@blackplate/shadow';

const styles = StyleSheet.create({
  container: {
    backgroundColor: 'white',
    ...shadow(16)
  }
})

Package Sidebar

Install

npm i @blackplate/react-native-shadow-adapter

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

3.63 kB

Total Files

4

Last publish

Collaborators

  • dawid.codes