Skip to content

null-none/react-native-background-gradient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-native-background-gradient

Provides a native React view that transitions between multiple colors in a linear direction

Install

yarn add react-native-background-gradient
// or
npm install react-native-background-gradient --save

Usage

import Background from "react-native-background-gradient";
import { Text } from "react-native";

export default () => (
    <Background from="rgb(255, 255, 255)" to="rgb(0,102,84)">
        <Text>Hello world</Text>
    </Background>
);

License

MIT

About

Provides a native React view that transitions between multiple colors in a linear direction

Topics

Resources

License

Stars

Watchers

Forks