N
N
Nikita2020-04-18 18:37:47
React Native
Nikita, 2020-04-18 18:37:47

How to raise input field in TextInput?

Hello, tell me how to raise the tooltip and the text to the very top?
I want to make a TextArea

<TextInput
      multiline
      numberOfLines={12}
      style={styles.input}
  />


According to css styles, only backgroundColor and margin

Looks like this:
5e9b1eac187b2032968911.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2020-04-19
@SonyFan23

With the help of styles.
alignItems: "flex-start",
justifyContent: "flex-start"
Read more here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question