-HTML tags
-Custom Components
(ModalBody, ModalFooter)
Where to Insert This Component?
This component is supposed to overlay all the content inside the application. Knowing that it can be inserted wherever the developer wants, it should not be affected by the rest of content structure.
To keep a better order, it is recommended to insert this component at the beginning or at the end of the HTML structure in the React componen.
This is a prop made to allow to users the action of canceling or closing a modal at pressing the Esc key, clicking on the exit button or in the overlayed backgorund.
If this prop is not facilitated by the developers, then the modal is going to be blocked, forcing the users to interact only with the Buttons in the Modal footer to close the modal.
To generate the structure required for the component, the developer is able to insert the following components as children elements:
In here, the developer can insert all the HTML tags and Components needed.
HTML tags and Custom Components
Components Dependency
For this component elaboration there were used the following internal components:
For detailed code usage documentation, see the Storybooks for each framework below.β