UNPKG

react-svgmt

Version:

Convenient SVG loading and manipulation from react

13 lines (12 loc) 342 B
/** * Changes: * - Don't replace the node. Justs its innerHTML * Adapted from: * Original Copyright notice --------------------------- * SVGInjector v1.1.3 - Fast, caching, dynamic inline SVG DOM injection library * https://github.com/iconic/SVGInjector * * Copyright (c) 2014-2015 Waybury <hello@waybury.com> * @license MIT * */