Answers for "how to take 100% width in react native"

2

width 100% react native

import { Dimensions } from 'react-native';

width: ${(Dimensions.get('window').width)}px;
Posted by: Guest on November-24-2020
1

how to take 100% width in react native

header : {
	height : 100,
  	backgroundColor: "favorite color",
    alignSelf: "stretch",
}
Posted by: Guest on December-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language