Formatting react-native view like a flexbox




View component is a critical component in react native. Mastering how to style it and its child component are crucial being a react native developer.

Here is a guide to understand and work with flex-box.

To give you an example, in react with the following codes.



It basically lines up your view as shown below :-










Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm