UNPKG

@helpscout/artboard

Version:

A tool kit for React UI development and design

23 lines 1.21 kB
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; Object.defineProperty(exports, "__esModule", { value: true }); var fancy_1 = require("@helpscout/fancy"); exports.Svg = fancy_1.default('span')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n\n svg {\n display: block;\n height: 100%;\n max-width: 100%;\n width: 100%;\n }\n\n path,\n rect,\n circle {\n fill: currentcolor;\n }\n\n ", ";\n\n ", ";\n"], ["\n display: block;\n\n svg {\n display: block;\n height: 100%;\n max-width: 100%;\n width: 100%;\n }\n\n path,\n rect,\n circle {\n fill: currentcolor;\n }\n\n ", ";\n\n ", ";\n"])), function (_a) { var color = _a.color; return "\n color: " + color + ";\n "; }, function (_a) { var size = _a.size; return "\n width: " + size + ";\n "; }); exports.Svg.defaultProps = { color: 'currentcolor', size: '70px', }; exports.default = exports.Svg; var templateObject_1; //# sourceMappingURL=Svg.js.map