@razorpay/blade
Version:
The Design System that powers Razorpay
40 lines (37 loc) • 4.04 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 { 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 StorefrontIcon = function StorefrontIcon(_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: "M19.4375 2.75H5.56251L5.55856 2.75001C5.17954 2.7515 4.81124 2.87601 4.50907 3.10482C4.20689 3.33362 3.98707 3.65467 3.88285 4.01908L2.54491 8.70278C2.51614 8.79533 2.50045 8.89364 2.50001 8.99555L2.5 9V10.5C2.5 11.5609 2.92143 12.5783 3.67157 13.3284C3.77606 13.4329 3.88574 13.531 4 13.6225V19.4994C4 19.9635 4.18437 20.4086 4.51256 20.7368C4.84075 21.065 5.28587 21.2494 5.75 21.2494H19.25C19.7141 21.2494 20.1592 21.065 20.4874 20.7368C20.8156 20.4086 21 19.9635 21 19.4994V13.6225C21.0117 13.6131 21.0234 13.6037 21.035 13.5941C21.1367 13.5108 21.2347 13.4222 21.3284 13.3284C22.0786 12.5783 22.5 11.5609 22.5 10.5V9C22.5 8.99776 22.5 8.99552 22.5 8.99328C22.4993 8.89266 22.4838 8.79556 22.4555 8.70408L21.1199 4.01875C21.0154 3.65326 20.7946 3.33175 20.4911 3.10284C20.1876 2.87393 19.8177 2.75007 19.4375 2.75ZM20.5 10H16.5V10.5C16.5 11.0304 16.7107 11.5391 17.0858 11.9142C17.1327 11.9611 17.1816 12.0054 17.2325 12.0471C17.5884 12.3387 18.0359 12.5 18.5 12.5C18.8152 12.5 19.1228 12.4256 19.3992 12.2865C19.4625 12.2388 19.5316 12.1986 19.6052 12.1669L19.6096 12.164C19.7183 12.0915 19.8204 12.008 19.9142 11.9142C20.2893 11.5391 20.5 11.0304 20.5 10.5V10ZM20.1751 8L19.2487 4.75H5.75405L4.82567 8H20.1751ZM8.5 10H4.5V10.5C4.5 11.0304 4.71071 11.5391 5.08579 11.9142C5.18081 12.0092 5.2844 12.0937 5.39476 12.1669C5.46842 12.1986 5.53752 12.2388 5.60078 12.2865C5.87719 12.4256 6.18476 12.5 6.5 12.5C7.03043 12.5 7.53914 12.2893 7.91421 11.9142C8.28929 11.5391 8.5 11.0304 8.5 10.5V10ZM10.5 10H14.5V10.5C14.5 11.0304 14.2893 11.5391 13.9142 11.9142C13.5391 12.2893 13.0304 12.5 12.5 12.5C11.9696 12.5 11.4609 12.2893 11.0858 11.9142C10.7107 11.5391 10.5 11.0304 10.5 10.5V10ZM15.5 13.1458C15.4449 13.2082 15.3877 13.2692 15.3284 13.3284C14.5783 14.0786 13.5609 14.5 12.5 14.5C11.4391 14.5 10.4217 14.0786 9.67157 13.3284C9.61231 13.2692 9.55511 13.2082 9.5 13.1458C9.44489 13.2082 9.38769 13.2692 9.32843 13.3284C8.57828 14.0786 7.56087 14.5 6.5 14.5C6.33195 14.5 6.16498 14.4894 6 14.4686V19.2494H19V14.4686C18.835 14.4894 18.6681 14.5 18.5 14.5C17.4391 14.5 16.4217 14.0786 15.6716 13.3284C15.613 13.2698 15.5564 13.2096 15.5018 13.1478L15.5 13.1458Z",
fill: iconColor
})
}));
};
export { StorefrontIcon as default };
//# sourceMappingURL=StorefrontIcon.js.map