Skip to content

Commit ae06fcb

Browse files
committed
animation util updated
1 parent a23a0ff commit ae06fcb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/animation.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
import { AnimationGeneratorName } from "motion"
2+
13
export const BASE_TRANSITION = {
24
duration: 0.15,
3-
type: "spring",
5+
type: "spring" as AnimationGeneratorName,
46
stiffness: 200,
57
damping: 15,
68
}

0 commit comments

Comments
 (0)