@appandflow/react-native-shadows
v0.1.2
Published
Utility View for multiple shadow in react-native
Downloads
281
Readme
@appandflow/react-native-shadows
Multiple shadow
Installation
npm install @appandflow/react-native-shadowsUsage
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
