Skip to content

Commit

Permalink
transition
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Dec 14, 2024
1 parent 2221535 commit 1a7d140
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion e2e/src/react/components/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,12 @@ export function Link() {
return () => clearInterval(interval)
}, [])

return <a href={href} ref={contentRef} style={{ color }}></a>
return (
<a
href={href}
ref={contentRef}
style={{ color, transition: 'color 1s ease-in-out' }}
>
</a>
)
}

0 comments on commit 1a7d140

Please sign in to comment.