Text fields in 2 rows

#1

Hii All,

I am working on a project using react native i want to create BMI calculator i want the text files into 2 rows but i am getting them in a single row can anyone help me with that.i want both the text fields in 2 rows .

Thanks in advance

0 Likes

#2

Hello,

I use a library for Rows and Columns. Its called react-native-easy-grid and the documentation can be found here. It is really easy to use and comes with typings for Typescript if needed.

I’ll show you how to use it in this situation:

<Grid>
    <Row>Text 1</Row>
    <Row>Text 2</Row>
</Grid>

Let me know if you like that library and if this helped you out!

2 Likes

#3

thanks @rauldeheer

0 Likes

closed #4

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

0 Likes