UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

38 lines (35 loc) 2.33 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 { 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 BoxesArrowIcon = /*#__PURE__*/React.forwardRef(function BoxesArrowIcon(props, ref) { var color = props.color, size = props.size, otherProps = _objectWithoutProperties(props, _excluded); return /*#__PURE__*/jsx("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", { d: "M12 9.70001 5.36 15.23C4.94 15.58 4.88 16.21 5.23 16.64 5.58 17.06 6.21 17.12 6.64 16.77L11 13.14V23C11 23.55 11.45 24 12 24 12.55 24 13 23.55 13 23V13.14L17.36 16.77C17.55 16.92 17.77 17 18 17 18.29 17 18.57 16.88 18.77 16.64 19.12 16.22 19.07 15.58 18.64 15.23L12 9.70001ZM6 4V2C6 .9 5.1 0 4 0H2C.9 0 0 .9 0 2V4C0 5.1.9 6 2 6H4C5.1 6 6 5.1 6 4ZM2 4V2H4V4H2ZM22 0H20C18.9 0 18 .9 18 2V4C18 5.1 18.9 6 20 6H22C23.1 6 24 5.1 24 4V2C24 .9 23.1 0 22 0ZM20 4V2H22V4H20ZM11 6H13C14.1 6 15 5.1 15 4V2C15 .9 14.1 0 13 0H11C9.9 0 9 .9 9 2V4C9 5.1 9.9 6 11 6ZM11 2H13V4H11V2Z" }) })); }); BoxesArrowIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; BoxesArrowIcon.defaultProps = { color: 'currentColor', size: '24' }; export { BoxesArrowIcon as default }; //# sourceMappingURL=boxes-arrow.js.map