how to take 100% width in react native

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",

Final Thoughts

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.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment