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

How use variables in other files? #179

Open
joki20 opened this issue Jan 26, 2023 · 0 comments
Open

How use variables in other files? #179

joki20 opened this issue Jan 26, 2023 · 0 comments

Comments

@joki20
Copy link

joki20 commented Jan 26, 2023

I have an index.js file where I import all other files containing EStylesheet.create() functions.

How can I use variables created in index.js with EStyleSheet.build() in my other files? As an example, I have created a variable $redcolor and want to use it in my file base.js

![image](https://user-images.githubusercontent.com/73738545/214932065-ce849a52-04fc-40ce-a1ee-c1ada7b8715c.png

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

1 participant