Answers for "linear gradient react native"

1

react native liner granding

yarn add react-native-linear-gradient
Posted by: Guest on April-07-2020
1

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',  },});
Posted by: Guest on April-08-2021
0

linear gradient reactjs

<button style={{ backgroundImage: `linear-gradient(to right, rgba(0, 224, 255, 1), rgba(0, 133, 255, 1))`, }} >
Posted by: Guest on September-15-2021
0

react native background gradient

npx expo install expo-linear-gradient
Posted by: Guest on August-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language