title: How to make search bar with dropdown list in react-native?
body: <p>I want to create a search bar with a drop-down list with react-native, more like this image<a href="https://i.stack.imgur.com/MRM2H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MRM2H.png" alt="enter image description here"></a></p>
  
  <p>I know there are lots of libraries regarding these which makes my task easy but I have just started with react-native so for my knowledge I wanna know how these things are made.</p>
  
  <p>I came across tutorials of how to make a search bar with live search and update the flatlist by filtering the data based on your search but none of them has a dropdown list involved.</p>
  
  <p>Code updating my flatlist based on search word is already done, I need to just display this flatlist in the form of a dropdown list.</p>
  
  <p>A link to tutorial or sample code would be helpful.</p>