feat: use tween for feed list animation

This commit is contained in:
DIYgod
2024-04-12 23:03:44 +08:00
parent 49c4f0cbed
commit 7799bd4bb0
@@ -44,6 +44,11 @@ function FeedCategory({ name, list }: { name: string; list: any[] }) {
<AnimatePresence>
{open && (
<m.div
transition={{
type: 'tween',
duration: 0.2,
ease: 'easeInOut',
}}
key={name}
className="overflow-hidden"
initial={{