@razorpay/blade
Version:
The Design System that powers Razorpay
41 lines (38 loc) • 2.5 kB
JavaScript
import _defineProperty from '@babel/runtime/helpers/defineProperty';
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
import '../_Svg/index.js';
import '../useIconProps/index.js';
import { jsxs, 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 PowerIcon = function PowerIcon(_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__*/jsxs(Svg, _objectSpread(_objectSpread({}, styledProps), {}, {
width: width,
height: height,
viewBox: "0 0 24 24",
fill: "none",
children: [/*#__PURE__*/jsx(Path, {
d: "M13 2C13 1.44772 12.5523 1 12 1C11.4477 1 11 1.44772 11 2V12C11 12.5523 11.4477 13 12 13C12.5523 13 13 12.5523 13 12V2Z",
fill: iconColor
}), /*#__PURE__*/jsx(Path, {
d: "M6.33722 7.34701C6.72768 6.95642 6.72757 6.32325 6.33699 5.93279C5.9464 5.54233 5.31323 5.54244 4.92277 5.93302C1.01847 9.8386 1.01916 16.1697 4.92431 20.0744C8.82947 23.9791 15.1605 23.9791 19.0657 20.0744C22.9708 16.1697 22.9715 9.8386 19.0672 5.93302C18.6768 5.54244 18.0436 5.54233 17.653 5.93279C17.2624 6.32325 17.2623 6.95642 17.6528 7.34701C20.7762 10.4715 20.7757 15.5363 17.6515 18.6601C14.5274 21.7839 9.46257 21.7839 6.33845 18.6601C3.21432 15.5363 3.21377 10.4715 6.33722 7.34701Z",
fill: iconColor
})]
}));
};
export { PowerIcon as default };
//# sourceMappingURL=PowerIcon.js.map