chore(grid): add some types

This commit is contained in:
rektdeckard
2021-12-22 01:25:58 -05:00
parent c090531800
commit 3cdcdd4e0d

View File

@@ -25,7 +25,7 @@ const delayPerPixel = 0.0004;
const itemVariants = { const itemVariants = {
hidden: { opacity: 0 }, hidden: { opacity: 0 },
visible: (delayRef: any) => ({ visible: (delayRef: MutableRefObject<number>) => ({
opacity: 1, opacity: 1,
transition: { delay: delayRef.current }, transition: { delay: delayRef.current },
}), }),