@razorpay/blade
Version:
The Design System that powers Razorpay
40 lines (37 loc) • 3.79 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 PhoneIcon = function PhoneIcon(_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: "M0.883051 1.8182C1.47945 1.25294 2.28482 1 2.99996 1H6.10996C7.0887 1 7.81222 1.44835 8.28724 1.97575C8.74141 2.47998 8.98842 3.07204 9.0852 3.49887L9.09536 3.54368L9.10137 3.58924C9.21809 4.47417 9.43449 5.34306 9.74647 6.17935C10.1579 7.27536 9.89423 8.51066 9.07101 9.34314L9.06708 9.34712L8.34997 10.0642C9.52583 11.9088 11.0911 13.4741 12.9358 14.65L13.6529 13.9329L13.6568 13.9289C14.4893 13.1057 15.7246 12.842 16.8206 13.2535C17.6569 13.5655 18.5258 13.7819 19.4107 13.8986L19.4197 13.8998C20.9235 14.1119 22.0308 15.4142 22 16.9312V20C22 21.1 21.4415 21.8538 20.9683 22.1922C20.3527 22.7273 19.5446 22.9896 18.73 22.9159L18.7209 22.9151L18.7119 22.9141C15.4808 22.5631 12.377 21.4593 9.64971 19.6915C7.11256 18.0785 4.96126 15.9272 3.34828 13.39C1.58268 10.6633 0.480716 7.56092 0.130507 4.3318C-0.0695435 3.2942 0.253692 2.41469 0.883051 1.8182ZM2.25886 3.2698C2.13282 3.38926 2.01626 3.58008 2.09885 3.97561L2.10908 4.02462L2.11437 4.0744C2.42602 7.00921 3.42461 9.82933 5.02924 12.3063L5.034 12.3137C6.4906 14.6059 8.43401 16.5494 10.7263 18.006L10.7341 18.0109C13.1969 19.6081 15.9996 20.606 18.9175 20.9247C19.1954 20.9477 19.4704 20.8536 19.676 20.665L19.7452 20.6015L19.8058 20.5639C19.8085 20.5613 19.8122 20.5577 19.8166 20.553C19.8359 20.5325 19.8634 20.4985 19.891 20.4506C19.944 20.3589 20 20.2133 20 20V16.9076L20.0003 16.8952C20.0128 16.3888 19.6448 15.9532 19.1439 15.8807C18.1109 15.7441 17.0966 15.4912 16.1204 15.1269L16.1181 15.1261C15.7534 14.989 15.3423 15.0762 15.0647 15.3494L13.7971 16.6171C13.4788 16.9354 12.987 17.0018 12.5957 16.7793C9.93565 15.2668 7.73319 13.0643 6.22066 10.4043C5.99815 10.013 6.06454 9.52121 6.38285 9.20289L7.65052 7.93522C7.92376 7.65764 8.011 7.24658 7.87391 6.88186L7.87306 6.8796C7.51467 5.91916 7.26412 4.92193 7.12598 3.90627C7.08472 3.75483 6.97819 3.51078 6.80117 3.31425C6.6307 3.12499 6.41921 3 6.10996 3H2.99996C2.71509 3 2.42845 3.10906 2.25886 3.2698Z",
fill: iconColor
})
}));
};
export { PhoneIcon as default };
//# sourceMappingURL=PhoneIcon.js.map