bagaimana meneruskan alat peraga ke komponen lain


//parent component which send the prop value
const parent=(val)=>{
	return <Children value={val}/>;
}
//child component which recive the prop value
export const Children=(props)=>{
	return props.value;
}
siam88