mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
adjust page animation transition
This commit is contained in:
@@ -14,7 +14,11 @@ interface AnimatedPageProps {
|
||||
export const AnimatedPage = forwardRef(
|
||||
({ children }: AnimatedPageProps, ref: Ref<HTMLDivElement>) => {
|
||||
return (
|
||||
<motion.main className={styles.animatedPage} ref={ref} {...animationProps.fadeIn}>
|
||||
<motion.main
|
||||
className={styles.animatedPage}
|
||||
ref={ref}
|
||||
{...{ ...animationProps.fadeIn, transition: { duration: 1, ease: 'anticipate' } }}
|
||||
>
|
||||
{children}
|
||||
</motion.main>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user