Skip to content
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

Broken styled reference #209

Closed
NandoMB opened this issue Apr 3, 2023 · 1 comment
Closed

Broken styled reference #209

NandoMB opened this issue Apr 3, 2023 · 1 comment
Assignees

Comments

@NandoMB
Copy link

NandoMB commented Apr 3, 2023

When install the a component, not only Button, the reference of styled is broken...

Captura de Tela 2023-04-03 às 13 16 22

// Change from
import { styled } from '../../styled'; // Broken reference

// To
import { styled } from '@dank-style/react'; // Fixed reference
@mayank-96
Copy link
Contributor

Hey @NandoMB,
You will need to re-initialise the project with latest version of gluestack-ui, which will add styled folder along with gluestack-ui-provider folder. This styled folder will provide pre-configured styled function with animation-plugin. So the local path written in some components for importing styled function is refereeing to this file.

@mayank-96 mayank-96 assigned mayank-96 and unassigned makkarMeenu Apr 6, 2023
@Viraj-10 Viraj-10 mentioned this issue Apr 6, 2023
@mayank-96 mayank-96 linked a pull request Apr 11, 2023 that will close this issue
@mayank-96 mayank-96 removed a link to a pull request Apr 11, 2023
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

No branches or pull requests

3 participants