📌  相关文章
📜  如何在组件之间传递道具 - Javascript 代码示例

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

代码示例2
//parent component which send the prop value
const parent=(val)=>{
    return ;
}
//child component which recive the prop value
export const Children=(props)=>{
    return props.value;
}