📜  延迟使用状态双击 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:06.960000             🧑  作者: Mango

代码示例2
function Child(props) {
    function handleChange(event) {
        // Here, we invoke the callback with the new value
        props.onChange(event.target.value);
    }
  
    return 
}