Hello coders! In this tutorial I have shared the details about “how to take 100% width in react native”. Okay, let’s move on to the article.
how to take 100% width in react native
import Dimensions from 'react-native'; width: $(Dimensions.get('window').width)px;
header : height : 100, backgroundColor: "favorite color", alignSelf: "stretch",
I hope this post helps you to know about “how to take 100% width in react native”. If you have any doubts regarding this post please let us know via the comment section. Share this tutorial with your friends and family via social networks.