Make sure your SVGs have, in their file, an id
property with the value svg
.
You'd set the color to currentColor if you want it to be controlled by the parent CSS.
Alternatively, you are also able to use the CSS variables accessible to the SVG when placed in the DOM.
In order to allow the SVG to be properly scaled, make sure your SVG has a viewBox defined.
forked from widgetbot-io/message-renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
License
Smithster/message-renderer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 99.4%
- JavaScript 0.6%