How to use the react-native-linear-gradient.default function in react-native-linear-gradient

To help you get started, we’ve selected a few react-native-linear-gradient examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla-magnet / magnet-client / lib / views / list-item.js View on Github external
'use strict';

/**
 * Dependencies
 */

const LinearGradient = require('react-native-linear-gradient').default;
const debug = require('../debug')('ListItem');
const theme = require('../../config').theme;
const tinycolor = require('tinycolor2');
const React = require('react');

/**
 * Locals
 */

const {
  PanResponder,
  StyleSheet,
  Animated,
  Image,
  Text,
  View,

react-native-linear-gradient

A <LinearGradient> element for React Native

MIT
Latest version published 9 months ago

Package Health Score

75 / 100
Full package analysis

Similar packages