UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

38 lines (35 loc) 2.02 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 SkipBackIcon = /*#__PURE__*/React.forwardRef(function SkipBackIcon(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: "M22.5 2.14C22.19 1.96 21.81 1.96 21.5 2.13L7 10.29V4C7 2.9 6.1 2 5 2H3C1.9 2 1 2.9 1 4V20C1 21.1 1.9 22 3 22H5C6.1 22 7 21.1 7 20V13.71L21.51 21.87C21.66 21.96 21.83 22 22 22C22.17 22 22.35 21.95 22.5 21.86C22.81 21.68 23 21.36 23 21V3C23 2.64 22.81 2.32 22.5 2.14Z" }) })); }); SkipBackIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; SkipBackIcon.defaultProps = { color: 'currentColor', size: '24' }; export { SkipBackIcon as default }; //# sourceMappingURL=skip-back.js.map