Sep 1, 2024
useState hook.TextInput.TextInput at the top of the component.name and setName initialized to "Sean".age and setAge initialized to 30.TextInput for both fields.onChangeText prop to listen for text changes in the input field.setName with the current value typed by the user.setAge with the value from age input field.multiline prop allows for multiple lines of text input.keyboardType prop adjusts keyboard layout: