//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;
}
[
{...,one : ComponentOne},
{...,two : ComponentTwo}
]
function Greeting(props){
return(<div>
//using p