@widgetbot/message-renderer
TypeScript icon, indicating that this package has built-in type declarations

2.3.2 • Public • Published

@widgetbot/message-renderer

Loading SVGs

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/

    Package Sidebar

    Install

    npm i @widgetbot/message-renderer

    Weekly Downloads

    18

    Version

    2.3.2

    License

    ISC

    Unpacked Size

    2.62 MB

    Total Files

    180

    Last publish

    Collaborators

    • victiondev
    • daave
    • johnythecarrot
    • advaithj
    • gm1003