mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 06:29:30 -07:00
Merge pull request #109 from Barry-Flynn/patch-1
Fix staggerFrom prop syntax in rotatingTextCode.ts
This commit is contained in:
@@ -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%' }"
|
||||
|
||||
Reference in New Issue
Block a user