UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

50 lines (47 loc) 2.77 kB
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 PosIcon = function PosIcon(_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, { fillRule: "evenodd", clipRule: "evenodd", d: "M4 2C4 1.44772 4.44772 1 5 1L19 1C19.5523 1 20 1.44772 20 2C20 2.55228 19.5523 3 19 3L5 3C4.44772 3 4 2.55229 4 2Z", fill: iconColor }), /*#__PURE__*/jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M8 19.5C8 18.9477 8.44772 18.5 9 18.5L15 18.5C15.5523 18.5 16 18.9477 16 19.5C16 20.0523 15.5523 20.5 15 20.5L9 20.5C8.44772 20.5 8 20.0523 8 19.5Z", fill: iconColor }), /*#__PURE__*/jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M6 13C6 13.5523 6.44772 14 7 14H17C17.5523 14 18 13.5523 18 13V7C18 6.44772 17.5523 6 17 6H7C6.44772 6 6 6.44772 6 7V13ZM18 15.8293C17.6872 15.9398 17.3506 16 17 16H7C6.64936 16 6.31278 15.9398 6 15.8293V21.2C6 21.5453 6.346 22 7 22H17C17.654 22 18 21.5453 18 21.2V15.8293ZM7 4C5.44486 4 4 5.1571 4 6.8V21.2C4 22.8429 5.44486 24 7 24H17C18.5551 24 20 22.8429 20 21.2V6.8C20 5.1571 18.5551 4 17 4H7Z", fill: iconColor })] })); }; export { PosIcon as default }; //# sourceMappingURL=PosIcon.js.map