@pathwright/pathicons
Version: 
Pathwright icons, synced from Figma to React components
40 lines (37 loc) • 2.18 kB
JavaScript
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 ArrowDownLeftIcon = /*#__PURE__*/React.forwardRef(function ArrowDownLeftIcon(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", {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M20.7071 4.70711C21.0976 4.31658 21.0976 3.68342 20.7071 3.29289C20.3166 2.90237 19.6834 2.90237 19.2929 3.29289L5 17.5858V8C5 7.44772 4.55228 7 4 7C3.44772 7 3 7.44772 3 8V19.9998C3 19.9999 3 20.0001 3 20.0002V21H3.99902C3.99967 21 4.00033 21 4.00098 21H16C16.5523 21 17 20.5523 17 20C17 19.4477 16.5523 19 16 19H6.41421L20.7071 4.70711Z"
    })
  }));
});
ArrowDownLeftIcon.propTypes = {
  color: PropTypes.string,
  size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
ArrowDownLeftIcon.defaultProps = {
  color: 'currentColor',
  size: '24'
};
export { ArrowDownLeftIcon as default };
//# sourceMappingURL=arrow-down-left.js.map