-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
TypeScript Error: Multiple components cannot be named in TypeScript. #27
Comments
@roninoss have you encountered a similar issue? |
I'm seeing similar errors running
|
Fixed in latest versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TypeScript Error: Exported variables from @rn-primitives components cannot be named
Environment
@rn-primitives/*
(affecting multiple components)Description
When trying to use components from various
@rn-primitives/*
packages, I'm encountering TypeScript errors (TS4023) across multiple components. The error suggests that the exported variables (likeAvatar
, and presumably others) are using names from external modules that cannot be named.Error Message
Here's an example with the Avatar component, but this issue affects almost all components from @rn-primitives:
Steps to Reproduce
@rn-primitives/*
packagesExpected Behavior
Components from
@rn-primitives/*
packages should be importable and usable without TypeScript errors.Actual Behavior
TypeScript throws TS4023 errors when trying to use most components from
@rn-primitives/*
packages.Additional Context
@rn-primitives/*
packages.Possible Solutions
Any insights into resolving this type conflict would be greatly appreciated. Some questions that might help:
@rn-primitives/*
packages in a Turborepo setup?@rn-primitives/*
packages?@rn-primitives/*
that I'm using?Thank you !
The text was updated successfully, but these errors were encountered: