File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 33
44## Getting started
55` $ npm install react-native-web-linear-gradient --save `
6+
7+ Alias the package in your webpack config:
8+
9+ ```
10+ resolve: {
11+ alias: {
12+ 'react-native': 'react-native-web',
13+ ...
14+ 'react-native-linear-gradient': 'react-native-web-linear-gradient',
15+ }
16+ }
17+ ```
18+
19+ ## Usage
20+ See [ react-native-linear-gradient] ( https://github.com/react-native-community/react-native-linear-gradient ) .
21+
22+ ## Contributing
23+ PRs are welcome!
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-web-linear-gradient" ,
3- "version" : " 0 .0.0" ,
3+ "version" : " 1 .0.0" ,
44 "description" : " React Native for Web implementation of react-native-linear-gradient" ,
55 "main" : " src/index.js" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments