Skip to content

Commit

Permalink
playwright test
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikMatiasko committed Jul 30, 2024
1 parent 3e648df commit 82161c4
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/components/Atomic/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ import { convertSize, IconCloseCircle } from '../Icon'
import Button from '../Button'
import Backdrop from './Backdrop'

const dropIn = {
hidden: {
opacity: 0,
},
visible: {
y: '0',
opacity: 1,
transition: {
duration: 0.1,
type: 'spring',
damping: 25,
stiffness: 500,
},
},
exit: {
opacity: 0,
},
}

export const Modal: FC<Props> = memo((props) => {
const {
appRoot,
Expand Down Expand Up @@ -128,25 +147,6 @@ export const Modal: FC<Props> = memo((props) => {
return null
}

const dropIn = {
hidden: {
opacity: 0,
},
visible: {
y: '0',
opacity: 1,
transition: {
duration: 0.1,
type: 'spring',
damping: 25,
stiffness: 500,
},
},
exit: {
opacity: 0,
},
}

const ModalBase = (
<AnimatePresence initial={false} mode='wait' onExitComplete={() => null}>
{show && (
Expand Down

0 comments on commit 82161c4

Please sign in to comment.