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

dynamic use icon #51

Closed
fyeeme opened this issue Sep 13, 2021 · 1 comment
Closed

dynamic use icon #51

fyeeme opened this issue Sep 13, 2021 · 1 comment

Comments

@fyeeme
Copy link

fyeeme commented Sep 13, 2021

how to use

  <icon-accessibility/>
  <icon-account-box style="font-size: 2em; color: red"/>

switch to

  <icon name="accessibility"/>
  <icon  name="account-box " style="font-size: 2em; color: red"/>

thus , I can dynamic use icon

  <icon :name="iconName"/>

as some time we need to show a batch of icon by some kind of logic,but now seem to not support, Maybe I miss something.

@IanVS
Copy link
Contributor

IanVS commented Sep 16, 2021

It looks like this is not something that's planned for this library. See #5

@antfu antfu closed this as completed Sep 16, 2021
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

3 participants