Merge pull request #32 from Utkarsh-Singhal-26/fix/typos

fix: typos in Meta Balls & Rotating Text
This commit is contained in:
David
2025-07-17 16:53:57 +03:00
committed by GitHub
2 changed files with 10 additions and 10 deletions

View File

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

View File

@@ -14,7 +14,7 @@ export const rotatingText: CodeObject = {
:exit="{ y: '-120%' }"
:staggerDuration="0.025"
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"
/>
</template>