SHARE
TWEET

Flex

joygabriel21 Jan 22nd, 2020 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const styles = StyleSheet.create({  
  2.     container: {    
  3.         flex: 1,    
  4.         flexDirection: "column"  
  5.     },  
  6.     box: {    
  7.         flex: 1  
  8.     },  
  9.     box1: {    
  10.         flex: 1,    
  11.         backgroundColor: "#2196F3"  
  12.     },  
  13.     box2: {    
  14.         flex: 10,    
  15.         backgroundColor: "#8BC34A"  
  16.     },  
  17.     box3: {    
  18.         flex: 0.5,    
  19.         backgroundColor: "#e3aa1a"  
  20.     }
  21. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top