UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

40 lines (37 loc) 2.77 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 DragDropFillIcon = /*#__PURE__*/React.forwardRef(function DragDropFillIcon(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", { d: "M9.55 5.88999C9.55 5.88999 9.64 5.92999 9.68 5.93999L15.68 7.93999C15.98 8.03999 16.32 7.98999 16.58 7.79999C16.84 7.60999 17 7.30999 17 6.98999V3.98999C17 2.33999 15.65 0.98999 14 0.98999H4C2.35 0.99999 1 2.34999 1 3.99999V14C1 15.65 2.35 17 4 17H7C7.32 17 7.62 16.85 7.81 16.58C8 16.32 8.05 15.98 7.95 15.68L5.95 9.67999C5.95 9.67999 5.92 9.58999 5.9 9.54999C5.9 9.53999 5.24 8.17999 6.71 6.69999C8.12 5.28999 9.43 5.82999 9.56 5.88999H9.55Z" }), /*#__PURE__*/jsx("path", { d: "M22.51 19.14L18.61 16.8L20.7 14.71C20.94 14.47 21.04 14.13 20.97 13.8C20.9 13.47 20.67 13.2 20.36 13.07L10.36 9.07001C9.99999 8.93001 9.59 9.00001 9.3 9.27001C9.02 9.54001 8.91 9.94001 9.04 10.31L12.54 20.81C12.66 21.17 12.97 21.43 13.34 21.48C13.71 21.54 14.08 21.38 14.3 21.07L16.03 18.65L19.2 22.62C19.38 22.84 19.64 22.98 19.93 22.99C19.95 22.99 19.97 22.99 19.99 22.99C20.25 22.99 20.51 22.89 20.7 22.7L22.7 20.7C22.92 20.48 23.02 20.18 22.99 19.87C22.96 19.56 22.78 19.29 22.51 19.13V19.14Z" })] })); }); DragDropFillIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; DragDropFillIcon.defaultProps = { color: 'currentColor', size: '24' }; export { DragDropFillIcon as default }; //# sourceMappingURL=drag-drop-fill.js.map