🌈 搜索
📅  最后修改于: 2022-03-11 15:01:44.481000             🧑  作者: Mango
import {useRef} from 'react'; // hten define the ref const inputRef = useRef(null); // then use it in the tag ...