Skip to content

react-native-web-community/react-native-web-linear-gradient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!