naomi
naomi

Reputation: 2643

React Native - Android Native Component for Shadow

I'm building a React Native project that it's design relies largely on shadows.

Unfortunately there is no native support for shadows for android, and setting the elevation property does not meet my needs.

I'm looking desperately for a solution:

I've tried react-native-shadow - but it badly effects performance.

What I found is this native android library for shadows that looks awesome, but I don't have the knowledge on putting it together with a React Native UI Component I can use in my project.

Any help will be appreciated!

Upvotes: 9

Views: 618

Answers (1)

naomi
naomi

Reputation: 2643

I've ended up using this great Shadow Component:

https://github.com/ajinasokan/react-native-shadowview

It is a React Native UI component, that wraps an Android Native Component.

Exactly what I was looking for... wasn't aware of it when asking question :)

Upvotes: 3

Related Questions