@pplancq/svg-core
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@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);

Readme

Keywords

Package Sidebar

Install

npm i @pplancq/svg-core

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

6.74 kB

Total Files

14

Last publish

Collaborators

  • pplancq