UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

38 lines (35 loc) 3.73 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 QRCodeIcon = function QRCodeIcon(_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, { d: "M4 4.5C4 4.22386 4.22386 4 4.5 4H9.5C9.77614 4 10 4.22386 10 4.5V9.5C10 9.77614 9.77614 10 9.5 10H4.5C4.22386 10 4 9.77614 4 9.5V4.5ZM19.5 4C19.7761 4 20 4.22386 20 4.5V9.5C20 9.77614 19.7761 10 19.5 10H14.5C14.2239 10 14 9.77614 14 9.5V4.5C14 4.22386 14.2239 4 14.5 4H19.5ZM14 15.5C14 15.2239 14.2239 15 14.5 15H16V13H14.5C14.2239 13 14 12.7761 14 12.5V11.5C14 11.2239 14.2239 11 14.5 11H15.5C15.7761 11 16 11.2239 16 11.5V13H18V11.5C18 11.2239 18.2239 11 18.5 11H19.5C19.7761 11 20 11.2239 20 11.5V12.5C20 12.7761 19.7761 13 19.5 13H18V15H19.5C19.7761 15 20 15.2239 20 15.5V17.5C20 17.7761 19.7761 18 19.5 18H18V19.5C18 19.7761 17.7761 20 17.5 20H16.5C16.2239 20 16 19.7761 16 19.5V18H13.5C13.2239 18 13 18.2239 13 18.5V19.5C13 19.7761 12.7761 20 12.5 20H11.5C11.2239 20 11 19.7761 11 19.5V16.5C11 16.2239 11.2239 16 11.5 16H13.5C13.7761 16 14 15.7761 14 15.5ZM16 15V18H18V15H16ZM4.5 20C4.22386 20 4 19.7761 4 19.5V14.5C4 14.2239 4.22386 14 4.5 14H9.5C9.77614 14 10 14.2239 10 14.5V19.5C10 19.7761 9.77614 20 9.5 20H4.5ZM6.5 6C6.22386 6 6 6.22386 6 6.5V7.5C6 7.77614 6.22386 8 6.5 8H7.5C7.77614 8 8 7.77614 8 7.5V6.5C8 6.22386 7.77614 6 7.5 6H6.5ZM16.5 6C16.2239 6 16 6.22386 16 6.5V7.5C16 7.77614 16.2239 8 16.5 8H17.5C17.7761 8 18 7.77614 18 7.5V6.5C18 6.22386 17.7761 6 17.5 6H16.5ZM6.5 16C6.22386 16 6 16.2239 6 16.5V17.5C6 17.7761 6.22386 18 6.5 18H7.5C7.77614 18 8 17.7761 8 17.5V16.5C8 16.2239 7.77614 16 7.5 16H6.5ZM4 11.5C4 11.2239 4.22386 11 4.5 11H5.5C5.77614 11 6 11.2239 6 11.5V12.5C6 12.7761 5.77614 13 5.5 13H4.5C4.22386 13 4 12.7761 4 12.5V11.5ZM9 11.5C9 11.2239 9.22386 11 9.5 11H12.5C12.7761 11 13 11.2239 13 11.5V14.5C13 14.7761 12.7761 15 12.5 15H11.5C11.2239 15 11 14.7761 11 14.5V13.5C11 13.2239 10.7761 13 10.5 13H9.5C9.22386 13 9 12.7761 9 12.5V11.5ZM11 6.5C11 6.22386 11.2239 6 11.5 6H12.5C12.7761 6 13 6.22386 13 6.5V9.5C13 9.77614 12.7761 10 12.5 10H11.5C11.2239 10 11 9.77614 11 9.5V6.5Z", fill: iconColor }) })); }; export { QRCodeIcon as default }; //# sourceMappingURL=QRCodeIcon.js.map