The Modal component is a basic way to present content above an enclosing view.
ModalBody
component is used to add body content. ModalFooter
component is usually used to add actions in the model's footer. dismissible
prop to true
. ModalHeader
component inside modal. Also, you can add ModalTitle
component inside ModalHeader
to add title. scrollable
prop. size
prop. Available sizes are sm
, md
and lg
. Default size is md
. placement
property to center
to vertically center the Modal.
Default value is top
. AutoClose
property to true
to close Modal when Escape key pressed
or clicked outside. backdrop
property to false
.