@pplancq/svg-core
v1.0.3
Published
A functions for asynchronously loading SVG files into the DOM
Downloads
3
Readme
@pplancq/svg-core
A functions for asynchronously loading SVG files into the DOM
Install
npm install @pplancq/svg-core
Use on your application
import { getSvg } from '@pplancq/svg-core';
const svg = getSvg('https://my-domain/my-svg.svg');
document.body.appendChild(svg);