ReactJs component structure - Form inside modal
问题 I am using the react-bootstrap Modal, Form and Button. Desiring the functionality of clicking the button should open the modal with a form inside it. After filling out the form, one clicks a button (on the modal ) and it validates the form data and posts it through a REST API. I got far enough to figure out that my component split should be as follows: A button component, a modal component and a form component. What would be the correct way to structure these components in terms of props