svg-term
Version:
Share terminal sessions via SVG and CSS
16 lines • 627 B
JavaScript
;
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.Frame = (props) => {
return (React.createElement("svg", { x: props.offset * props.width },
React.createElement("use", { xlinkHref: "#a" }),
props.children));
};
//# sourceMappingURL=Frame.js.map