width 100% react native
snippet in javascript

width 100% react native

user3190

import { Dimensions } from 'react-native';

width: ${(Dimensions.get('window').width)}px;

how to take 100% width in react native

user4411

header : {
	height : 100,
  	backgroundColor: "favorite color",
    alignSelf: "stretch",
}