Skip to content

Commit

Permalink
fix: refactor word-pull
Browse files Browse the repository at this point in the history
  • Loading branch information
itsarghyadas committed Dec 24, 2024
1 parent b7ef970 commit f70b2ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions registry/default/magicui/word-pull-up.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import { useRef } from "react";
interface WordPullUpProps extends MotionProps {
children: string;
className?: string;
as?: React.ElementType;
delayMultiple?: number;
variants?: Variants;
wordVariants?: Variants;
startOnView?: boolean;
as?: React.ElementType;
}

export default function WordPullUp({
Expand Down Expand Up @@ -46,7 +46,7 @@ export default function WordPullUp({
animate={shouldAnimate ? "show" : "hidden"}
className={cn(
"text-4xl font-bold leading-[5rem] tracking-[-0.02em]",
className,
className
)}
>
{children.split(" ").map((word, i) => (
Expand Down

0 comments on commit f70b2ef

Please sign in to comment.