fix(theme): Add explicit types to Framer Motion variants
This commit is contained in:
parent
a7e0fa5579
commit
0e95f5fe5e
1 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
export const pageVariants = {
|
import { Variants } from 'framer-motion';
|
||||||
|
|
||||||
|
export const pageVariants: Variants = {
|
||||||
initial: {
|
initial: {
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
y: 8,
|
y: 8,
|
||||||
|
|
@ -24,7 +26,7 @@ export const pageVariants = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export const itemVariants = {
|
export const itemVariants: Variants = {
|
||||||
initial: { opacity: 0, y: 10 },
|
initial: { opacity: 0, y: 10 },
|
||||||
animate: {
|
animate: {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue