Skip to content

Conversation

Dryd33n
Copy link
Contributor

@Dryd33n Dryd33n commented Mar 10, 2025

Previously typescript versions of the blurtext typography animation had an error preventing it from being built successfully due to some funny typescript buisness associated with the animated.span, this is fixed by explicitly declaring a new AnimatedSpan which prevents the TS error

Previous error now mitigated:
"Type '{ children: Element; key: number; style: { [x: string]: any; }; }' is not assignable to type 'IntrinsicAttributes & AnimatedProps<{ style?: { accentColor?: AccentColor | undefined; alignContent?: AlignContent | undefined; alignItems?: AlignItems | undefined; ... 841 more ...; matrix3d?: readonly [...] | undefined; } | undefined; }> & { ...; }'.\n Property 'children' does not exist on type 'IntrinsicAttributes & AnimatedProps<{ style?: { accentColor?: AccentColor | undefined; alignContent?: AlignContent | undefined; alignItems?: AlignItems | undefined; ... 841 more ...; matrix3d?: readonly [...] | undefined; } | undefined; }> & { ...; }'."

Dryd33n added 2 commits March 10, 2025 13:45
fix(BlurText): resolve TypeScript error by explicitly typing style prop
fix non tailwind version
Copy link

vercel bot commented Mar 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
react-bits-ui ⬜️ Ignored (Inspect) Visit Preview Mar 10, 2025 8:53pm

@DavidHDev
Copy link
Owner

Thanks!

@DavidHDev DavidHDev merged commit 01c42fd into DavidHDev:main Mar 10, 2025
3 checks passed
AthalarBlizz pushed a commit to EventHorizon-Forge/ehfcreact-bits that referenced this pull request May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants