yarn add react-native-shadow-stack-view --savereact-native link react-native-shadow-stack-view- In XCode, in the project navigator, right click
Libraries>Add Files to [your project's name] - Go to
node_modules>react-native-shadow-stack-viewand addRNShadowStackView.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNShadowStackView.ato your project'sBuild Phases>Link Binary With Libraries - Run your project (
Cmd+R)<
<ShadowStackView
shadows={[
{
color: 'blue',
opacity: 0.5,
radius: 12,
offset: {
width: 20,
height: 30,
},
},
]}
>
...
</ShadowStackView>shadowsarray: A list of Shadow Props objects
If XCode gives you a linker error and many warnings like Auto-Linking library not found for -lswiftCoreGraphics just add an empty swift file to the root of your .xcodeproj (Source)