📌  相关文章
📜  如何将道具传递给另一个组件 - Javascript 代码示例

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

代码示例1
//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;
}