Skip to content

Commit 3647207

Browse files
committed
remove cursorclass
1 parent 395ccce commit 3647207

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

apps/web/src/components/ui/typewriter-effect.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ import { useEffect } from "react";
77
export const TypewriterEffect = ({
88
words,
99
className,
10-
cursorClassName,
1110
}: {
1211
words: {
1312
text: string;
1413
className?: string;
1514
}[];
1615
className?: string;
17-
cursorClassName?: string;
1816
}) => {
1917
// split text inside of words into array of characters
2018
const wordsArray = words.map((word) => {
@@ -91,7 +89,6 @@ export const TypewriterEffect = ({
9189
}}
9290
className={cn(
9391
"inline-block rounded-sm w-[4px] h-4 md:h-6 lg:h-10 bg-blue-500",
94-
cursorClassName
9592
)}
9693
></motion.span> */}
9794
</div>
@@ -101,14 +98,12 @@ export const TypewriterEffect = ({
10198
export const TypewriterEffectSmooth = ({
10299
words,
103100
className,
104-
cursorClassName,
105101
}: {
106102
words: {
107103
text: string;
108104
className?: string;
109105
}[];
110106
className?: string;
111-
cursorClassName?: string;
112107
}) => {
113108
// split text inside of words into array of characters
114109
const wordsArray = words.map((word) => {
@@ -180,8 +175,7 @@ export const TypewriterEffectSmooth = ({
180175
repeatType: "reverse",
181176
}}
182177
className={cn(
183-
"block rounded-sm w-[4px] h-4 sm:h-6 xl:h-12 bg-blue-500",
184-
cursorClassName
178+
"block rounded-sm w-[4px] h-4 sm:h-6 xl:h-12 bg-blue-500"
185179
)}
186180
></motion.span> */}
187181
</div>

0 commit comments

Comments
 (0)