An open API service indexing awesome lists of open source software.

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

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!