📅  最后修改于: 2022-03-11 14:56:52.431000             🧑  作者: Mango
function Parent() {
const [value, setValue] = React.useState("");
function handleChange(newValue) {
setValue(newValue);
}
// We pass a callback to Child
return ;
}