diff --git a/src/components/sounds/sounds.tsx b/src/components/sounds/sounds.tsx index e4f71af..404d339 100644 --- a/src/components/sounds/sounds.tsx +++ b/src/components/sounds/sounds.tsx @@ -1,4 +1,5 @@ import { useState, useMemo, useCallback } from 'react'; +import { AnimatePresence, motion } from 'framer-motion'; import { Sound } from '@/components/sound'; import { useLocalStorage } from '@/hooks/use-local-storage'; @@ -65,15 +66,22 @@ export function Sounds({ functional, id, sounds }: SoundsProps) { {sounds.length > 6 && ( - + + setShowAll(prev => !prev)} + > + {showAll ? 'Show Less' : 'Show More'} + + )} );