javascript – stretching component using left and right in react native

I’m trying to stretch my <View> component using left and right

I know how to do it in html and css:

  background-color: orange;
  position: absolute;
  left: 100px;
  right: 20px;
 <div class="testing"> 
  Hello there

but how do I achieve the same result in react native?

Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here