fix(theme): Resolve Framer Motion easing TS error
This commit is contained in:
parent
4fd7aed250
commit
a7e0fa5579
1 changed files with 5 additions and 5 deletions
|
|
@ -9,8 +9,8 @@ export const pageVariants = {
|
|||
y: 0,
|
||||
scale: 1,
|
||||
transition: {
|
||||
duration: 0.4,
|
||||
ease: [0.16, 1, 0.3, 1], // expo out
|
||||
duration: 0.5,
|
||||
ease: "easeOut",
|
||||
staggerChildren: 0.1,
|
||||
},
|
||||
},
|
||||
|
|
@ -19,7 +19,7 @@ export const pageVariants = {
|
|||
y: -8,
|
||||
transition: {
|
||||
duration: 0.2,
|
||||
ease: [0.7, 0, 0.84, 0], // ease in
|
||||
ease: "easeIn",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
@ -30,8 +30,8 @@ export const itemVariants = {
|
|||
opacity: 1,
|
||||
y: 0,
|
||||
transition: {
|
||||
duration: 0.3,
|
||||
ease: [0.16, 1, 0.3, 1],
|
||||
duration: 0.4,
|
||||
ease: "easeOut",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue