Skip to content
Snippets Groups Projects

feat: add modal

Merged Adrian Orłów requested to merge feature/add-modal into development
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -24,14 +24,14 @@ export const Modal = (): React.ReactNode => {
role={MODAL_ROLE}
>
<div className="flex h-full w-full items-center justify-center">
<div className="flex flex-col overflow-hidden rounded-lg ">
<div className="flex h-5/6 w-10/12 flex-col overflow-hidden rounded-lg">
<div className="flex items-center justify-between bg-white p-[24px] text-xl">
<div>{modalTitle}</div>
<button type="button" onClick={handleCloseModal} aria-label="close button">
<Icon name="close" className="fill-font-500" />
</button>
</div>
<div>{isOpen && modalName === 'overview-images' && <OverviewImagesModal />}</div>
{isOpen && modalName === 'overview-images' && <OverviewImagesModal />}
</div>
</div>
</div>
Loading