UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

44 lines (41 loc) 4 kB
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; import React from 'react'; import PropTypes from 'prop-types'; import { jsxs, jsx } from 'react/jsx-runtime'; var _excluded = ["color", "size"]; function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } var ComputerSmileIcon = /*#__PURE__*/React.forwardRef(function ComputerSmileIcon(props, ref) { var color = props.color, size = props.size, otherProps = _objectWithoutProperties(props, _excluded); return /*#__PURE__*/jsxs("svg", _objectSpread(_objectSpread({ ref: ref, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: color }, otherProps), {}, { children: [/*#__PURE__*/jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2 3C2 1.34772 3.34772 0 5 0H19C20.6523 0 22 1.34772 22 3V16C22 16.7383 21.5972 17.3849 21 17.7313V21C21 22.6523 19.6523 24 18 24H6C4.34772 24 3 22.6523 3 21V17.7313C2.40277 17.3849 2 16.7383 2 16V3ZM5 2C4.45228 2 4 2.45228 4 3V16H5V21C5 21.5477 5.45228 22 6 22H18C18.5477 22 19 21.5477 19 21V16H20V3C20 2.45228 19.5477 2 19 2H5Z" }), /*#__PURE__*/jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.90711 10.5791C8.67784 10.0846 8.09322 9.86398 7.59344 10.0864 7.08886 10.3109 6.86184 10.902 7.08638 11.4066L8 11C7.08638 11.4066 7.08664 11.4072 7.0869 11.4077L7.08745 11.409 7.08862 11.4116 7.09125 11.4174 7.09765 11.4312C7.10244 11.4413 7.10827 11.4535 7.1152 11.4674 7.12904 11.4953 7.1473 11.5305 7.17035 11.5719 7.2164 11.6547 7.28191 11.7631 7.37003 11.8883 7.54606 12.1382 7.81453 12.4582 8.2006 12.774 8.98744 13.4177 10.2103 14 12 14 13.7897 14 15.0126 13.4177 15.7994 12.774 16.1855 12.4582 16.4539 12.1382 16.63 11.8883 16.7181 11.7631 16.7836 11.6547 16.8296 11.5719 16.8527 11.5305 16.871 11.4953 16.8848 11.4674 16.8917 11.4535 16.8976 11.4413 16.9023 11.4312L16.9087 11.4174 16.9114 11.4116 16.9125 11.409 16.9131 11.4077C16.9134 11.4072 16.9136 11.4066 16 11L16.9136 11.4066C17.1382 10.902 16.9111 10.3109 16.4066 10.0864 15.9068 9.86398 15.3222 10.0846 15.0929 10.5791 15.0913 10.5822 15.0876 10.5893 15.0817 10.6 15.0669 10.6265 15.0386 10.6744 14.9947 10.7368 14.9067 10.8618 14.7583 11.0418 14.5331 11.226 14.0974 11.5823 13.3203 12 12 12 10.6797 12 9.90256 11.5823 9.4669 11.226 9.24172 11.0418 9.09331 10.8618 9.00528 10.7368 8.96137 10.6744 8.93305 10.6265 8.91828 10.6 8.91238 10.5893 8.9087 10.5822 8.90711 10.5791ZM11 20C11 19.4477 11.4477 19 12 19H16C16.5523 19 17 19.4477 17 20 17 20.5523 16.5523 21 16 21H12C11.4477 21 11 20.5523 11 20ZM6 20C6 19.4477 6.44772 19 7 19H8C8.55228 19 9 19.4477 9 20 9 20.5523 8.55228 21 8 21H7C6.44772 21 6 20.5523 6 20ZM10 6C10.5523 6 11 6.44772 11 7V8C11 8.55228 10.5523 9 10 9 9.44772 9 9 8.55228 9 8V7C9 6.44772 9.44772 6 10 6ZM14 6C14.5523 6 15 6.44772 15 7V8C15 8.55228 14.5523 9 14 9 13.4477 9 13 8.55228 13 8V7C13 6.44772 13.4477 6 14 6ZM20 18H4V16H20V18Z" })] })); }); ComputerSmileIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; ComputerSmileIcon.defaultProps = { color: 'currentColor', size: '24' }; export { ComputerSmileIcon as default }; //# sourceMappingURL=computer-smile.js.map