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

[feature request] Icon component - allow custom urls for icons #91

Open
code-K opened this issue Jun 1, 2023 · 0 comments
Open

[feature request] Icon component - allow custom urls for icons #91

code-K opened this issue Jun 1, 2023 · 0 comments

Comments

@code-K
Copy link

code-K commented Jun 1, 2023

Hi guys,

could you please enhance the icon component to allow custom urls instead of forcing the feather icons lib!?

I would possibly see here some logic like given “icon” name isn’t found in the feathericons lib, then try to load as given url? So in the resource-options itself i could then just give a src-url instead of the icon name like in the following screenshot commented..?

Bildschirmfoto 2023-05-30 um 15 23 44

@dziraf mentioned the following in the adminJS "help" channel within slack:

Something like:
icon: string | { imgSrc: string }
could probably work. Can you create a Github issue for this request?

https://adminbro.slack.com/archives/C011WETJSCB/p1685614592159569?thread_ts=1685453058.620609&cid=C011WETJSCB

Thanks much!

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