Skip to content

Configuration option: icons path #49

Open

Description

@CasperSocio

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'
}

Activity

  1. gitFoxCode commented on Sep 27, 2023

    @gitFoxCode
    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

  2. CasperSocio commented on Sep 27, 2023

    @CasperSocio
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions