Home

Awesome

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!