https://github.com/react-native-web-community/react-native-web-linear-gradient
React Native for Web implementation of react-native-linear-gradient
https://github.com/react-native-web-community/react-native-web-linear-gradient
react-native-linear-gradient react-native-web
Last synced: 2 months ago
JSON representation
React Native for Web implementation of react-native-linear-gradient
- Host: GitHub
- URL: https://github.com/react-native-web-community/react-native-web-linear-gradient
- Owner: react-native-web-community
- License: mit
- Created: 2017-10-01T17:14:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T07:44:28.000Z (over 2 years ago)
- Last Synced: 2025-03-30T08:11:16.942Z (2 months ago)
- Topics: react-native-linear-gradient, react-native-web
- Language: JavaScript
- Homepage: https://react-native-web-community.github.io/react-native-web-linear-gradient/storybook
- Size: 1.2 MB
- Stars: 93
- Watchers: 2
- Forks: 18
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-web-linear-gradient
> React Native for Web implementation of react-native-linear-gradient## Getting started
`$ npm install react-native-web-linear-gradient --save`Alias the package in your webpack config:
```
resolve: {
alias: {
'react-native': 'react-native-web',
...
'react-native-linear-gradient': 'react-native-web-linear-gradient',
}
}
```## Usage
See [react-native-linear-gradient](https://github.com/react-native-community/react-native-linear-gradient).Note that `angleCenter` prop is not supported.
## Examples
See the [storybook](https://react-native-web-community.github.io/react-native-web-linear-gradient/storybook).## Contributing
PRs are welcome!