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

[BUG] - Snackbar component missing semicolon #842

Open
gmantuanrosa opened this issue Jul 29, 2024 · 0 comments
Open

[BUG] - Snackbar component missing semicolon #842

gmantuanrosa opened this issue Jul 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gmantuanrosa
Copy link

Describe the bug
When using the Snackbar component on React Native the app has a render error as <css input:4:28: Missed semicolon

To Reproduce
Steps to reproduce the behavior:

Go to https://gympass.github.io/yoga/components/snackbar#native
Copy the Snackbar example from the page

<Snackbar
  variant="success"
  icon={CheckedFull}
  message="Feedback message."
  actionLabel="Action"
  onAction={() => {}}
  duration="default"
  bottomOffset={0}
  ref={snackbarRef}
/>

Save the changes and reload the app
The Render Error should occur with the same issue

Screenshots
Render Error:
Captura de Tela 2024-07-29 às 17 39 58

Terminal LOG:
Captura de Tela 2024-07-29 às 17 40 12

Digging into the code, this line appears to be the issue

margin-horizontal: ${margin.horizontal}px

@gmantuanrosa gmantuanrosa added the bug Something isn't working label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant