Untitled

mail@pastecode.io avatar
unknown
jsx
2 years ago
350 B
2
Indexable
Never
<div>
    <?--- background color --->
    <div className={`modalOverlay ${isShowModal ? 'bg-black/50 visible' : 'opacity-0 invisible'}`}></div>
        <?--- modal --->
    <div className={`modalAnimationShowAndHide ${isShowModal ? 'scale-1 opacity-100 visible' : 'scale-75 opacity-0 invisible'}`}>
        <ModalComponent />
    </div>
</div>