https://github.com/everdrone/react-native-shadow-stack-view
Multiple layered shadows for perfectionists
https://github.com/everdrone/react-native-shadow-stack-view
Last synced: 4 months ago
JSON representation
Multiple layered shadows for perfectionists
- Host: GitHub
- URL: https://github.com/everdrone/react-native-shadow-stack-view
- Owner: everdrone
- License: mit
- Created: 2018-11-14T21:35:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-20T01:49:54.000Z (over 7 years ago)
- Last Synced: 2025-09-03T13:14:44.028Z (9 months ago)
- Language: Swift
- Homepage:
- Size: 234 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# react-native-shadow-stack-view
## Getting started
```bash
yarn add react-native-shadow-stack-view --save
```
### Mostly automatic installation
```bash
react-native link react-native-shadow-stack-view
```
### Manual installation
#### iOS
1. In XCode, in the project navigator, right click `Libraries` > `Add Files to [your project's name]`
2. Go to `node_modules` > `react-native-shadow-stack-view` and add `RNShadowStackView.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNShadowStackView.a` to your project's `Build Phases` > `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<
## Usage
```javascript
...
```
## Props
- `shadows`
`array`: A list of [Shadow Props](https://facebook.github.io/react-native/docs/shadow-props) objects
## Caveats
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](https://stackoverflow.com/questions/50096025/it-gives-errors-when-using-swift-static-library-with-objective-c-project/50495316#50495316))