Bootstrap modal component.
It's required to have an element `
` somewhere on
the page since modals are rendered in portals.
Modals also have three optional sizes, which can be defined through the `size`
prop:
- small - `sm`
- large - `lg`
- extra-large - `xl`
For more details please visit Bootstrap
documentation.
```js
```
```jsx
import { ModalHeader, ModalBody, ModalFooter } from "./Modal";
import { useState } from "react";
const [shown, setShown] = useState(false);
<>