Kizspy | Question: 24
(Choose 1 answer)
FJOVERFLOW.COM
Which of the following is the correct way to use onChangeText and setText together in a TextInput
component?
A. onChangeText={text->setText(text)}
B. onChangeText-text => setText(text)
C. onChangeText={text => setTextValue(text)}
D. onChangeText={text = setText(text)}