syntax :
import parent
function parent (){
let amount =10000; ------------->send
return(
parent { childmat={amount}/>
import child
function child (props){
console.log(props.amt)
return(
---------------->receive
)
}
export default child
| return ( V
object more than one value is object so use {{value}} in expection function . send the function file to file
|
V
expreaction function
