Skip to content

Commit 18f2bdc

Browse files
authored
Merge pull request #165 from agustinusnathaniel/patch-1
fix: resolve BlurText TS Tailwind issue
2 parents 23a0003 + fa4de66 commit 18f2bdc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tailwind/TextAnimations/BlurText/BlurText.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const BlurText = ({
7676
<animated.span
7777
key={index}
7878
style={props}
79-
className="inline-block transition-transform will-change-[transform,filter,opacity]"
79+
className="inline-block will-change-[transform,filter,opacity]"
8080
>
8181
{elements[index] === ' ' ? '\u00A0' : elements[index]}
8282
{animateBy === 'words' && index < elements.length - 1 && '\u00A0'}
@@ -86,4 +86,4 @@ const BlurText = ({
8686
);
8787
};
8888

89-
export default BlurText;
89+
export default BlurText;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const BlurText: React.FC<BlurTextProps> = ({
9595
<AnimatedSpan
9696
key={index}
9797
style={props}
98-
className="inline-block transition-transform will-change-[transform,filter,opacity]"
98+
className="inline-block will-change-[transform,filter,opacity]"
9999
>
100100
{elements[index] === ' ' ? '\u00A0' : elements[index]}
101101
{animateBy === 'words' && index < elements.length - 1 && '\u00A0'}

0 commit comments

Comments
 (0)