UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

52 lines (49 loc) 2.97 kB
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; import React, { useId } 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 FastforwardInsetCircleIcon = /*#__PURE__*/React.forwardRef(function FastforwardInsetCircleIcon(props, ref) { var color = props.color, size = props.size, otherProps = _objectWithoutProperties(props, _excluded); var clipPathId = useId(); 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__*/jsxs("g", { clipPath: "url(#".concat(clipPathId, ")"), children: [/*#__PURE__*/jsx("path", { d: "M18.53 11.24L13.53 8.15002C13.22 7.96002 12.83 7.95002 12.52 8.13002C12.2 8.31002 12.01 8.64002 12.01 9.00002V10.91L7.54 8.15002C7.23 7.96002 6.84 7.95002 6.53 8.13002C6.21 8.31002 6.02 8.64002 6.02 9.00002V15C6.02 15.36 6.21 15.69 6.52 15.87C6.67 15.96 6.85 16 7.02 16C7.19 16 7.37 15.95 7.52 15.86L12.02 13.24V14.99C12.02 15.35 12.21 15.68 12.52 15.86C12.67 15.95 12.85 15.99 13.02 15.99C13.19 15.99 13.37 15.94 13.52 15.85L18.52 12.94C18.82 12.76 19.01 12.44 19.02 12.09C19.02 11.74 18.84 11.41 18.55 11.23L18.53 11.24Z" }), /*#__PURE__*/jsx("path", { d: "M12 0C5.37 0 0 5.37 0 12C0 18.63 5.37 24 12 24C18.63 24 24 18.63 24 12C24 5.37 18.63 0 12 0ZM12 22C6.49 22 2 17.51 2 12C2 6.49 6.49 2 12 2C17.51 2 22 6.49 22 12C22 17.51 17.51 22 12 22Z" })] }), /*#__PURE__*/jsx("defs", { children: /*#__PURE__*/jsx("clipPath", { id: clipPathId, children: /*#__PURE__*/jsx("path", { fill: "white", d: "M0 0H24V24H0z" }) }) })] })); }); FastforwardInsetCircleIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; FastforwardInsetCircleIcon.defaultProps = { color: 'currentColor', size: '24' }; export { FastforwardInsetCircleIcon as default }; //# sourceMappingURL=fastforward-inset-circle.js.map