@appandflow/react-native-shadows

0.1.2 • Public • Published

@appandflow/react-native-shadows

Multiple shadow

Installation

npm install @appandflow/react-native-shadows

Usage

import { Shadow } from '@appandflow/react-native-shadows';

// ...

<Shadow
  shadows={[
    {
      shadowColor: 'blue',
      shadowOffset: { width: 0, height: 2 },
      shadowOpacity: 1,
      shadowRadius: 12,
    },
    {
      shadowColor: 'red',
      shadowOffset: { width: 0, height: 0 },
      shadowOpacity: 1,
      shadowRadius: 12,
    },
  ]}
  style={styles.element}
>
  <Text>Hello world</Text>
</Shadow>

Contributing

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

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i @appandflow/react-native-shadows

Weekly Downloads

25

Version

0.1.2

License

MIT

Unpacked Size

10.7 kB

Total Files

14

Last publish

Collaborators

  • equimper
  • janicduplessis
  • teamappandflow
  • valium
  • charlesvinette