Better animation duration
This commit is contained in:
@@ -43,8 +43,8 @@ export default function MorphText({ text }: MorphTextProps) {
|
|||||||
animate={{ opacity: 1, y: 0 }}
|
animate={{ opacity: 1, y: 0 }}
|
||||||
exit={{ opacity: 0, y: -10 }}
|
exit={{ opacity: 0, y: -10 }}
|
||||||
transition={{
|
transition={{
|
||||||
type: "tween",
|
type: "keyframes",
|
||||||
duration: 1,
|
duration: 0.6,
|
||||||
}}
|
}}
|
||||||
className="inline-block"
|
className="inline-block"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user