box-ui-elements
Version:
Box UI Elements
76 lines • 3.44 kB
JavaScript
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-powerpoint-desktop';
class IconPowerPointDesktop 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 96 96",
width: width
}, /*#__PURE__*/React.createElement("path", {
d: "M90 78.5c0 .8-.7 1.5-1.5 1.5h-48c-.8 0-1.5-.7-1.5-1.5v-61c0-.8.7-1.5 1.5-1.5h48c.8 0 1.5.7 1.5 1.5v61z",
fill: "#FFF"
}), /*#__PURE__*/React.createElement("path", {
d: "M89 17v61H41V17h48m0-3H41c-1.7 0-3 1.3-3 3v61c0 1.7 1.3 3 3 3h48c1.7 0 3-1.3 3-3V17c0-1.7-1.3-3-3-3z",
fill: "#D24726"
}), /*#__PURE__*/React.createElement("g", {
clipRule: "evenodd",
fill: "#C1442B",
fillRule: "evenodd"
}, /*#__PURE__*/React.createElement("path", {
d: "M61 26c-7.2 0-13 5.8-13 13s5.8 13 13 13 13-5.8 13-13H61V26z"
}), /*#__PURE__*/React.createElement("path", {
d: "M63 24v13h13c0-7.2-5.8-13-13-13zM49 57h31v4H49zm1 9h30v4H50z"
})), /*#__PURE__*/React.createElement("path", {
clipRule: "evenodd",
d: "M56 4L4 13v70l52 9V4z",
fill: "#C1442B",
fillRule: "evenodd"
}), /*#__PURE__*/React.createElement("g", {
opacity: "0.05"
}, /*#__PURE__*/React.createElement("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: `${this.idPrefix}a`,
x1: "4",
x2: "56",
y1: "48",
y2: "48"
}, /*#__PURE__*/React.createElement("stop", {
offset: "0",
stopColor: "#FFF"
}), /*#__PURE__*/React.createElement("stop", {
offset: "1"
})), /*#__PURE__*/React.createElement("path", {
clipRule: "evenodd",
d: "M56 4L4 13v70l52 9V4z",
fill: `url(#${this.idPrefix}a)`,
fillRule: "evenodd"
})), /*#__PURE__*/React.createElement("path", {
d: "M26 46.5V37l1.9-.3c.8 0 1.5 0 2 .2.6.2 1.1.5 1.5.9.4.4.7.9.9 1.6.2.6.3 1.4.3 2.2 0 .9-.1 1.6-.3 2.3-.2.7-.5 1.2-.9 1.6-.4.4-.9.8-1.5 1-.6.2-1.3.3-2 .3l-1.9-.3M29 31l-9 .5v31.9l6 .5V52.2l2.3.2c.8 0 1.6 0 2.3-.2.7-.1 1.4-.3 2.1-.6.7-.3 1.3-.6 1.9-1 .6-.4 1.1-.9 1.6-1.4.5-.5.9-1.1 1.3-1.7.4-.6.7-1.2.9-1.9.2-.7.4-1.4.5-2.2.1-.8.2-1.6.2-2.4 0-1.8-.2-3.4-.7-4.7-.4-1.3-1.1-2.4-2-3.3-.9-.8-1.9-1.4-3.2-1.8C32 31 31 31 29 31",
fill: "#FFF"
}));
}
}
_defineProperty(IconPowerPointDesktop, "defaultProps", {
className: '',
height: 30,
width: 30
});
export default IconPowerPointDesktop;
//# sourceMappingURL=IconPowerPointDesktop.js.map