@razorpay/blade
Version:
The Design System that powers Razorpay
55 lines (52 loc) • 2.82 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 CalendarIcon = function CalendarIcon(_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: "M5 5C4.44772 5 4 5.44772 4 6V20C4 20.5523 4.44772 21 5 21H19C19.5523 21 20 20.5523 20 20V6C20 5.44772 19.5523 5 19 5H5ZM2 6C2 4.34315 3.34315 3 5 3H19C20.6569 3 22 4.34315 22 6V20C22 21.6569 20.6569 23 19 23H5C3.34315 23 2 21.6569 2 20V6Z",
fill: iconColor
}), /*#__PURE__*/jsx(Path, {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M16 1C16.5523 1 17 1.44772 17 2V6C17 6.55228 16.5523 7 16 7C15.4477 7 15 6.55228 15 6V2C15 1.44772 15.4477 1 16 1Z",
fill: iconColor
}), /*#__PURE__*/jsx(Path, {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M8 1C8.55228 1 9 1.44772 9 2V6C9 6.55228 8.55228 7 8 7C7.44772 7 7 6.55228 7 6V2C7 1.44772 7.44772 1 8 1Z",
fill: iconColor
}), /*#__PURE__*/jsx(Path, {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M2 10C2 9.44771 2.44772 9 3 9H21C21.5523 9 22 9.44771 22 10C22 10.5523 21.5523 11 21 11H3C2.44772 11 2 10.5523 2 10Z",
fill: iconColor
})]
}));
};
export { CalendarIcon as default };
//# sourceMappingURL=CalendarIcon.js.map