Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-web-linear-gradient

React Native for Web implementation of react-native-linear-gradient

react-native, react-native-web, react-native-linear-gradient, linear-gradient

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!