chore: update documentation

This commit is contained in:
David Nguyen
2024-03-17 13:54:14 +08:00
parent 6781ff137e
commit dc8d8433dd
3 changed files with 37 additions and 24 deletions

View File

@ -5,17 +5,17 @@ import { motion } from 'framer-motion';
type AnimateGenericFadeInOutProps = {
children: React.ReactNode;
className?: string;
key?: string;
motionKey?: string;
};
export const AnimateGenericFadeInOut = ({
children,
className,
key,
motionKey,
}: AnimateGenericFadeInOutProps) => {
return (
<motion.section
key={key}
key={motionKey}
initial={{
opacity: 0,
}}