I have a Flatlist that is creating a list of my custom component DocumentItem. DocumentItem contains a TextInput:
<TextInput style={styles.title} editable={props.isEditable}>{props.title}</TextInput>
For each of these TextInputs created, I also have a button called "Rename" that I want to focus on that TextInput and make it editable when it is clicked.
<MenuOption onSelect={() => {}} text='Rename' />
However, I can't think of a way to reference the dynamically created TextInput