0.1.2 • Published 8 months ago

@appandflow/react-native-shadows v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@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

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

11 months ago