fix(SW-1631): add rate terms modal * fix(SW-1631): add rate terms modal Approved-by: Simon.Emanuelsson
37 lines
656 B
TypeScript
37 lines
656 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' },
|
|
},
|
|
}
|
|
|
|
export const slideFromTop = {
|
|
hidden: {
|
|
opacity: 0,
|
|
y: -32,
|
|
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
},
|
|
visible: {
|
|
opacity: 1,
|
|
y: 0,
|
|
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
},
|
|
}
|