help pls with the props
Unanswered
testerOne posted this in #help-forum
I have the next task in the project at next
The ShippingAddress component, which contains inputs from which I must send data, is located in the Addresses component, which in turn is located in CheckoutForm
Inside the CheckoutForm there is also a Review component inside which there is a PaymentButton button, upon clicking which I need to call the sendDataToBitrix function and send the data
Project on next
Can you explain how to organize everything correctly?
Where should the sendDataToBitrix function itself be and how to pass the function
The ShippingAddress component, which contains inputs from which I must send data, is located in the Addresses component, which in turn is located in CheckoutForm
Inside the CheckoutForm there is also a Review component inside which there is a PaymentButton button, upon clicking which I need to call the sendDataToBitrix function and send the data
Project on next
Can you explain how to organize everything correctly?
Where should the sendDataToBitrix function itself be and how to pass the function
1 Reply
If something needs to be sent, I can do it right away