@pathwright/pathicons
Version:
Pathwright icons, synced from Figma to React components
52 lines (49 loc) • 4.65 kB
JavaScript
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 CheckDashCircleIcon = /*#__PURE__*/React.forwardRef(function CheckDashCircleIcon(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__*/jsx("g", {
clipPath: "url(#".concat(clipPathId, ")"),
children: /*#__PURE__*/jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M12 2C10.6992 2 9.38828 2.25495 8.1697 2.75511 7.65878 2.96481 7.0746 2.72063 6.86489 2.20971 6.65518 1.69879 6.89937 1.1146 7.41029.904894 8.87172.305054 10.4408 0 12 0 12.5523 0 13 .447715 13 1 13 1.55228 12.5523 2 12 2ZM4.92381 3.50961C5.31615 3.89832 5.3191 4.53148 4.93039 4.92381 3.95239 5.91095 3.21728 7.0389 2.73799 8.2326 2.53221 8.74512 1.94992 8.99378 1.4374 8.78799.924886 8.58221.67623 7.99991.882013 7.4874 1.46272 6.0411 2.34762 4.68905 3.50962 3.51619 3.89832 3.12385 4.53148 3.12091 4.92381 3.50961ZM1 11C1.55228 11 2 11.4477 2 12 2 13.3008 2.25495 14.6117 2.75511 15.8303 2.96481 16.3412 2.72063 16.9254 2.20971 17.1351 1.69879 17.3448 1.1146 17.1006.904894 16.5897.305054 15.1283 0 13.5592 0 12 0 11.4477.447715 11 1 11ZM3.51289 19.0629C3.90342 18.6724 4.53658 18.6724 4.92711 19.0629 5.90978 20.0456 7.03697 20.7729 8.23863 21.2645 8.7498 21.4736 8.99466 22.0575 8.78555 22.5686 8.57644 23.0798 7.99253 23.3247 7.48137 23.1156 6.04303 22.5271 4.69023 21.6544 3.51289 20.4771 3.12237 20.0866 3.12237 19.4534 3.51289 19.0629ZM17.0655 21.8114C17.2747 22.3225 17.0298 22.9064 16.5186 23.1156 15.076 23.7057 13.5372 24 12 24 11.4477 24 11 23.5523 11 23 11 22.4477 11.4477 22 12 22 13.2828 22 14.564 21.7543 15.7614 21.2645 16.2725 21.0553 16.8564 21.3002 17.0655 21.8114ZM22.5686 15.2145C23.0798 15.4236 23.3247 16.0075 23.1156 16.5186 22.5271 17.957 21.6544 19.3098 20.4771 20.4871 20.0866 20.8776 19.4534 20.8776 19.0629 20.4871 18.6724 20.0966 18.6724 19.4634 19.0629 19.0729 20.0456 18.0902 20.7729 16.963 21.2645 15.7614 21.4736 15.2502 22.0575 15.0053 22.5686 15.2145ZM21.7844 6.86733C22.294 6.65437 22.8797 6.89483 23.0927 7.4044 23.7063 8.87271 24 10.4345 24 11.99 24 12.5423 23.5523 12.99 23 12.99 22.4477 12.99 22 12.5423 22 11.99 22 10.6855 21.7537 9.38728 21.2473 8.17559 21.0344 7.66601 21.2748 7.08028 21.7844 6.86733ZM15.2145 1.43137C15.4236.920203 16.0075.675341 16.5186.884455 17.957 1.47287 19.3098 2.34556 20.4871 3.52289 20.8776 3.91342 20.8776 4.54658 20.4871 4.93711 20.0966 5.32763 19.4634 5.32763 19.0729 4.93711 18.0902 3.95444 16.963 3.22714 15.7614 2.73555 15.2502 2.52644 15.0053 1.94253 15.2145 1.43137ZM18.3347 8.48059C18.721 8.87533 18.7141 9.50846 18.3194 9.89472L11.5536 16.5154 7.91409 12.8883C7.52291 12.4984 7.52183 11.8653 7.91168 11.4741 8.30154 11.0829 8.93471 11.0818 9.3259 11.4717L11.5664 13.7046 16.9206 8.46526C17.3153 8.07899 17.9485 8.08586 18.3347 8.48059Z"
})
}), /*#__PURE__*/jsx("defs", {
children: /*#__PURE__*/jsx("clipPath", {
id: clipPathId,
children: /*#__PURE__*/jsx("path", {
fill: "white",
d: "M0 0H24V24H0z"
})
})
})]
}));
});
CheckDashCircleIcon.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
CheckDashCircleIcon.defaultProps = {
color: 'currentColor',
size: '24'
};
export { CheckDashCircleIcon as default };
//# sourceMappingURL=check-dash-circle.js.map