$ yarn add react-native-rainbow-background
Or, if you use NPM:
$ npm install --save react-native-rainbow-background
Use it like you would use a <View>
β no configuration required.
import RainbowBackground from 'reactn-native-rainbow-background';
const App = () => (
<RainbowBackground style={{ flex: 1 }} />
);
MIT.