Constants

The library has the following constants that can be used in API:

  • SVG_NAMESPACE
  • XMLNS_NAMESPACE
import { SVG_NAMESPACE, XMLNS_NAMESPACE } from 'mz-svg';

console.log(SVG_NAMESPACE); // 'http://www.w3.org/2000/svg';
console.log(XMLNS_NAMESPACE); // 'http://www.w3.org/2000/xmlns/';