File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
apps/web/src/components/ui Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,12 @@ import { useEffect } from "react";
77export 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 = ({
10198export 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 >
You can’t perform that action at this time.
0 commit comments