feat(SW-3238): Move modal to design system * Move Modal to design-system * Remove temp modal from booking-flow Approved-by: Joakim Jäderberg
24 lines
426 B
TypeScript
24 lines
426 B
TypeScript
export const fade = {
|
|
hidden: {
|
|
opacity: 0,
|
|
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
},
|
|
visible: {
|
|
opacity: 1,
|
|
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
},
|
|
}
|
|
|
|
export const slideInOut = {
|
|
hidden: {
|
|
opacity: 0,
|
|
y: 32,
|
|
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
},
|
|
visible: {
|
|
opacity: 1,
|
|
y: 0,
|
|
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
},
|
|
}
|