Skip to content

Commit ea7b1b9

Browse files
authored
Merge pull request #718 from EnderRomantice/main
Fix: Removed the delay API from TextCursor in documents, websites, and demos.
2 parents 4071f88 + 450a1a9 commit ea7b1b9

File tree

6 files changed

+0
-13
lines changed

6 files changed

+0
-13
lines changed

src/constants/code/TextAnimations/textCursorCode.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const textCursor = {
1010
1111
<TextCursor
1212
text="Hello!"
13-
delay={0.01}
1413
spacing={80}
1514
followMouseDirection={true}
1615
randomFloat={true}

src/content/TextAnimations/TextCursor/TextCursor.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import './TextCursor.css';
44

55
const TextCursor = ({
66
text = '⚛️',
7-
delay = 0.01,
87
spacing = 100,
98
followMouseDirection = true,
109
randomFloat = true,

src/demo/TextAnimations/TextCursorDemo.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ const TextCursorDemo = () => {
2828
default: '⚛️',
2929
description: 'The text string to display as the trail.'
3030
},
31-
{
32-
name: 'delay',
33-
type: 'number',
34-
default: '0.01',
35-
description: 'The entry stagger delay in seconds for the fade-out animation.'
36-
},
3731
{
3832
name: 'spacing',
3933
type: 'number',

src/tailwind/TextAnimations/TextCursor/TextCursor.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { motion, AnimatePresence } from 'motion/react';
33

44
const TextCursor = ({
55
text = '⚛️',
6-
delay = 0.01,
76
spacing = 100,
87
followMouseDirection = true,
98
randomFloat = true,

src/ts-default/TextAnimations/TextCursor/TextCursor.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import './TextCursor.css';
44

55
interface TextCursorProps {
66
text: string;
7-
delay?: number;
87
spacing?: number;
98
followMouseDirection?: boolean;
109
randomFloat?: boolean;
@@ -25,7 +24,6 @@ interface TrailItem {
2524

2625
const TextCursor: React.FC<TextCursorProps> = ({
2726
text = '⚛️',
28-
delay = 0.01,
2927
spacing = 100,
3028
followMouseDirection = true,
3129
randomFloat = true,

src/ts-tailwind/TextAnimations/TextCursor/TextCursor.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { motion, AnimatePresence } from 'motion/react';
33

44
interface TextCursorProps {
55
text: string;
6-
delay?: number;
76
spacing?: number;
87
followMouseDirection?: boolean;
98
randomFloat?: boolean;
@@ -24,7 +23,6 @@ interface TrailItem {
2423

2524
const TextCursor: React.FC<TextCursorProps> = ({
2625
text = '⚛️',
27-
delay = 0.01,
2826
spacing = 100,
2927
followMouseDirection = true,
3028
randomFloat = true,

0 commit comments

Comments
 (0)