T
TanStack2y ago
flat-fuchsia

Creating a Styled Component with Link breaks typing

When creating a Link styled through styled components, my to, params and potentially other props losing their type safety. Using Link by itself works as expected however. https://codesandbox.io/p/devbox/twilight-mountain-lts8jw Note the usage of the styled link and how i am able to pass in anything to those values
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?