fix: typos in Meta Balls & Rotating Text

This commit is contained in:
Utkarsh-Singhal-26
2025-07-17 16:52:45 +05:30
parent 47ef949cd2
commit 40ca6a0122
2 changed files with 10 additions and 10 deletions

View File

@@ -6,16 +6,16 @@ export const metaBalls: CodeObject = {
installation: `npm i ogl`, installation: `npm i ogl`,
usage: `<template> usage: `<template>
<MetaBalls <MetaBalls
color="color" color="#27ff64"
cursorBallColor="cursorBallColor" cursorBallColor="#27ff64"
:cursorBallSize="cursorBallSize" :cursorBallSize="2"
:ballCount="ballCount" :ballCount="15"
:animationSize="animationSize" :animationSize="30"
:enableMouseInteraction="enableMouseInteraction" :enableMouseInteraction="true"
:enableTransparency="true" :enableTransparency="true"
:hoverSmoothness="hoverSmoothness" :hoverSmoothness="0.05"
:clumpFactor="clumpFactor" :clumpFactor="1"
:speed="speed" :speed="0.3"
/> />
</template> </template>

View File

@@ -14,7 +14,7 @@ export const rotatingText: CodeObject = {
:exit="{ y: '-120%' }" :exit="{ y: '-120%' }"
:staggerDuration="0.025" :staggerDuration="0.025"
splitLevelClassName="overflow-hidden pb-0.5 sm:pb-1 md:pb-1" splitLevelClassName="overflow-hidden pb-0.5 sm:pb-1 md:pb-1"
:transition="{ type: "spring", damping: 30, stiffness: 400 }" :transition="{ type: 'spring', damping: 30, stiffness: 400 }"
:rotationInterval="2000" :rotationInterval="2000"
/> />
</template> </template>