We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can add default classes in the config, but what about default attributes?
At the moment I'm having to type out the same attributes each time, eg:
@svg('my-icon', 'text-red', ['aria-hidden' => 'true', 'viewBox' => '0 0 24 24'])
The text was updated successfully, but these errors were encountered:
Yeah, I can definitely see that being useful.
Sorry, something went wrong.
I've implemented this here: #115
However, it's not possible to override existing attributes on icons. They should be removed first before new ones are applied.
No branches or pull requests
I can add default classes in the config, but what about default attributes?
At the moment I'm having to type out the same attributes each time, eg:
@svg('my-icon', 'text-red', ['aria-hidden' => 'true', 'viewBox' => '0 0 24 24'])
The text was updated successfully, but these errors were encountered: