Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1305

While Stying Flex-1 doesn't work while working with React Native on an android phone

$
0
0

My code: -

<View className="flex-row items-center space-x-2 pb-2 mx-4"><View className="flex-row space-x-2 bg-gray-200 p-3 flex-1"><SearchIcon color="gray" size={20} /><TextInput          placeholder="Restaurants and Cusines"          keyboardType="default"        /></View><AdjustmentsIcon color="#00CCBB" /></View>

also I am using tailwind-css but I also checked it with normal stying it doesn't work :(


Viewing all articles
Browse latest Browse all 1305

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>