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.
@widgetbot/message-renderer
2.3.2 • Public • Published Readme
Keywords
nonePackage Sidebar
Install
npm i @widgetbot/message-renderer
Repository
Weekly Downloads
9
Version
2.3.2
License
ISC
Unpacked Size
2.62 MB
Total Files
180