UNPKG

svg-term

Version:

Share terminal sessions via SVG and CSS

20 lines 897 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; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const React = __importStar(require("react")); const styled_1 = __importDefault(require("@emotion/styled")); const color_1 = require("./color"); exports.Background = props => { return (React.createElement(StyledBackground, { height: props.height, width: props.width, fill: color_1.color(props.fill) })); }; const StyledBackground = styled_1.default.rect ``; //# sourceMappingURL=Background.js.map