title: How to get height of FlatList element inside renderItem function in React Native
body: <p>I'm new to React Native. I want to animate the deletion of <code>FlatList</code> Item on swiping to the left. I'm getting the values of swipe and able to delete the item but it is not smooth. </p>
  
  <p>So, I'm using <code>Animated</code> API of react native and want to make the height of FlatList item 0 in 1000ms after swiping. </p>
  
  <p>I'm using inputRange and outputRange. But I'm not able to get height of current element as height of all elements is dynamic.</p>