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

Configuration option: icons path #49

Open
CasperSocio opened this issue Sep 18, 2023 · 2 comments
Open

Configuration option: icons path #49

CasperSocio opened this issue Sep 18, 2023 · 2 comments

Comments

@CasperSocio
Copy link

I need to load my icons from a package without saving them to assets/icons. We get our icons from a shared component library which has a package containing all our system icons. These icons should be able to change without our teams intervention. I see that you have the path hardcoded in getIcon(), but would it be possible to add a configuration option for where to look for svg files?

// some config file
{
  path: '@my-components/icons/svg'
}
@gitFoxCode
Copy link
Owner

Hey, the globe does not allow the use of variables, maybe it can be done other way, but I haven't found anything like that yet, currently I don't have the time to manage this module and add news features but PRs are welcome

@CasperSocio
Copy link
Author

I'll see if I can find another approach and submit a PR.

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

2 participants