UNPKG

svg-artisan

Version:

Simple SVG builder for Node.

15 lines (14 loc) 475 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RawElement = void 0; const BaseElement_1 = require("./elements/BaseElement"); class RawElement extends BaseElement_1.BaseElement { constructor(name, attributes, content) { super(attributes, content); this.name = name; } static create(name, attributes, content) { return new RawElement(name, attributes, content); } } exports.RawElement = RawElement;