Merge pull request #109 from Barry-Flynn/patch-1

Fix staggerFrom prop syntax in rotatingTextCode.ts
This commit is contained in:
David
2025-11-18 23:46:26 +02:00
committed by GitHub

View File

@@ -7,7 +7,7 @@ export const rotatingText = createCodeObject(code, 'TextAnimations/RotatingText'
<RotatingText
:texts="['Vue', 'Bits', 'is', 'Cool!']"
mainClassName="px-2 sm:px-2 md:px-3 bg-green-300 text-black overflow-hidden py-0.5 sm:py-1 md:py-2 justify-center rounded-lg"
:staggerFrom="last"
:staggerFrom="'last'"
:initial="{ y: '100%' }"
:animate="{ y: 0 }"
:exit="{ y: '-120%' }"