Package Exports
- react-native-web-linear-gradient
- react-native-web-linear-gradient/dist
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-web-linear-gradient) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.
Note that angleCenter
prop is not supported.
Examples
See the storybook.
Contributing
PRs are welcome!