Skip to content

Commit 1d92009

Browse files
committed
First version
1 parent 900e75f commit 1d92009

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,21 @@
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!

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)