width and height based on screen react native code example
Example: how to take 100% width in react native
header : {
height : 100,
backgroundColor: "favorite color",
alignSelf: "stretch",
}
header : {
height : 100,
backgroundColor: "favorite color",
alignSelf: "stretch",
}