Skip to content

Feat/blurtext typing error fix #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 10, 2025

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