UNPKG

react-life-design

Version:
40 lines 2.22 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; }; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]]; return t; }; Object.defineProperty(exports, "__esModule", { value: true }); var React = require("react"); var styled_components_1 = require("styled-components"); var Colors_1 = require("../../Colors"); var TextHelper_1 = require("../../TextHelper"); var Icons_1 = require("../../Icons"); var Wrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n background-color: ", ";\n padding: 16px;\n font-family: ", ";\n display: flex;\n align-items: center;\n\n svg {\n margin-right: 10px;\n }\n"], ["\n color: ", ";\n background-color: ", ";\n padding: 16px;\n font-family: ", ";\n display: flex;\n align-items: center;\n\n svg {\n margin-right: 10px;\n }\n"])), Colors_1.default.apple, Colors_1.default.heaven, TextHelper_1.default.fontVariant('medium')); exports.default = (function (_a) { var children = _a.children, props = __rest(_a, ["children"]); return (React.createElement(Wrapper, __assign({}, props), React.createElement(Icons_1.default.Success, { color: Colors_1.default.apple, height: 18, width: 23 }), children)); }); var templateObject_1; //# sourceMappingURL=Accepted.js.map