UNPKG

box-ui-elements

Version:
71 lines 2.95 kB
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; } function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } import * as React from 'react'; import uniqueId from 'lodash/uniqueId'; import AccessibleSVG from '../accessible-svg'; const ICON_CLASS = 'icon-google-slides'; class IconGoogleSlides extends React.Component { constructor(...args) { super(...args); _defineProperty(this, "idPrefix", `${uniqueId(ICON_CLASS)}-`); } render() { const { className, height, title, width } = this.props; return /*#__PURE__*/React.createElement(AccessibleSVG, { className: `${ICON_CLASS} ${className}`, height: height, title: title, viewBox: "0 0 30 30", width: width }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", { gradientTransform: "matrix(2.67 0 0 -2.67 596.67 1357)", gradientUnits: "userSpaceOnUse", id: `${this.idPrefix}a`, x1: "-215.49", x2: "-215.49", y1: "505.79", y2: "503.19" }, /*#__PURE__*/React.createElement("stop", { offset: "0", stopColor: "#d08714", stopOpacity: ".88" }), /*#__PURE__*/React.createElement("stop", { offset: ".55", stopColor: "#cf8714", stopOpacity: ".2" }))), /*#__PURE__*/React.createElement("path", { d: "M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z", fill: "#f4b912" }), /*#__PURE__*/React.createElement("path", { d: "M18.23 7.58l7.59 7.58V8.18l-7.59-.6z", fill: `url(#${this.idPrefix}a)` }), /*#__PURE__*/React.createElement("path", { d: "M17.64 0v6.14a2 2 0 0 0 2 2h6.14z", fill: "#fadc87" }), /*#__PURE__*/React.createElement("path", { d: "M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z", fill: "#fff", fillOpacity: ".2" }), /*#__PURE__*/React.createElement("path", { d: "M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z", fill: "#1a237e", fillOpacity: ".1" }), /*#__PURE__*/React.createElement("path", { d: "M10 15v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm9 6h-8v-4h8z", fill: "#f1f1f1" })); } } _defineProperty(IconGoogleSlides, "defaultProps", { className: '', height: 30, width: 30 }); export default IconGoogleSlides; //# sourceMappingURL=IconGoogleSlides.js.map