UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

40 lines (37 loc) 2.43 kB
import _defineProperty from '@babel/runtime/helpers/defineProperty'; import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties'; import '../_Svg/index.js'; import '../useIconProps/index.js'; import { jsx } from 'react/jsx-runtime'; import useIconProps from '../useIconProps/useIconProps.js'; import Svg from '../_Svg/Svg/Svg.web.js'; import Path from '../_Svg/Path/Path.web.js'; var _excluded = ["size", "color"]; 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 CrosshairIcon = function CrosshairIcon(_ref) { var size = _ref.size, color = _ref.color, styledProps = _objectWithoutProperties(_ref, _excluded); var _useIconProps = useIconProps({ size: size, color: color }), height = _useIconProps.height, width = _useIconProps.width, iconColor = _useIconProps.iconColor; return /*#__PURE__*/jsx(Svg, _objectSpread(_objectSpread({}, styledProps), {}, { width: width, height: height, viewBox: "0 0 24 24", fill: "none", children: /*#__PURE__*/jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM13 20.9451V18C13 17.4477 12.5523 17 12 17C11.4477 17 11 17.4477 11 18V20.9451C6.82838 20.4839 3.51608 17.1716 3.05493 13H6C6.55228 13 7 12.5523 7 12C7 11.4477 6.55228 11 6 11H3.05493C3.51608 6.82838 6.82838 3.51608 11 3.05493V6C11 6.55228 11.4477 7 12 7C12.5523 7 13 6.55228 13 6V3.05493C17.1716 3.51608 20.4839 6.82838 20.9451 11H18C17.4477 11 17 11.4477 17 12C17 12.5523 17.4477 13 18 13H20.9451C20.4839 17.1716 17.1716 20.4839 13 20.9451Z", fill: iconColor }) })); }; export { CrosshairIcon as default }; //# sourceMappingURL=CrosshairIcon.js.map