Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

react native background gradient

npx expo install expo-linear-gradient
Comment

linear gradient react native

import LinearGradient from 'react-native-linear-gradient'; // Within your render function<LinearGradient colors={['#4c669f', '#3b5998', '#192f6a']} style={styles.linearGradient}>  <Text style={styles.buttonText}>    Sign in with Facebook  </Text></LinearGradient> // Later on in your styles..var styles = StyleSheet.create({  linearGradient: {    flex: 1,    paddingLeft: 15,    paddingRight: 15,    borderRadius: 5  },  buttonText: {    fontSize: 18,    fontFamily: 'Gill Sans',    textAlign: 'center',    margin: 10,    color: '#ffffff',    backgroundColor: 'transparent',  },});
Comment

PREVIOUS NEXT
Code Example
Javascript :: react native navigation navigate 
Javascript :: javascript in keyword 
Javascript :: useparams example 
Javascript :: js password generator 
Javascript :: replace all character in string javascript 
Javascript :: redis nodejs 
Javascript :: fix footer 
Javascript :: import svg react 
Javascript :: javascript json append array 
Javascript :: json limit nodejs 
Javascript :: set attribute in javascript 
Javascript :: loading image in react js 
Javascript :: sequelize order with include 
Javascript :: reactstrap form post 
Javascript :: java script remove last character from string 
Javascript :: remove id attribute javascript 
Javascript :: add tab to textarea javascript 
Javascript :: javascript collection to array 
Javascript :: flutter build runner json serializable 
Javascript :: set in javascript 
Javascript :: ajax get 
Javascript :: google auth.onstatechange 
Javascript :: Random Integer 1-10 
Javascript :: javascript convert object to querystring 
Javascript :: generate random number in node js 
Javascript :: split 2 arrays javascript 
Javascript :: javascript encode base64 
Javascript :: how to find for lable in jquery 
Javascript :: file upload in jquery 
Javascript :: short ajax get method jquery 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =