You can use let textInput = React.useRef(null); const [text, setText] = React.useState(''); <TextInput ref={(input) => textInput = input} ...
確定! 回上一頁