UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

37 lines (34 loc) 1.7 kB
import _defineProperty from '@babel/runtime/helpers/defineProperty'; import '../../../../utils/metaAttribute/index.js'; import { jsx } from 'react/jsx-runtime'; import { metaAttribute } from '../../../../utils/metaAttribute/metaAttribute.web.js'; 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 Path = function Path(_ref) { var d = _ref.d, clipPath = _ref.clipPath, clipRule = _ref.clipRule, fill = _ref.fill, fillOpacity = _ref.fillOpacity, fillRule = _ref.fillRule, stroke = _ref.stroke, strokeLinecap = _ref.strokeLinecap, strokeLinejoin = _ref.strokeLinejoin, strokeWidth = _ref.strokeWidth; return /*#__PURE__*/jsx("path", _objectSpread({ d: d, clipPath: clipPath, clipRule: clipRule, fill: fill, fillOpacity: fillOpacity, fillRule: fillRule, stroke: stroke, strokeLinecap: strokeLinecap, strokeLinejoin: strokeLinejoin, strokeWidth: strokeWidth }, metaAttribute({ name: 'svg-path' }))); }; export { Path as default }; //# sourceMappingURL=Path.web.js.map