UNPKG

svg-term

Version:

Share terminal sessions via SVG and CSS

14 lines 748 B
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; Object.defineProperty(exports, "__esModule", { value: true }); const React = __importStar(require("react")); exports.Document = (props) => { return (React.createElement("svg", { height: props.height * 10, viewBox: [0, 0, props.width, props.height].join(' '), width: props.width * 10, x: props.x, xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", y: props.y }, props.children)); }; //# sourceMappingURL=Document.js.map