Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to find the width of outerconatiner in react native

<View onLayout={(event) => {
  var {x, y, width, height} = event.nativeEvent.layout;
}} />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #width #outerconatiner #react #native
ADD COMMENT
Topic
Name
3+7 =