@razorpay/blade
Version:
The Design System that powers Razorpay
40 lines (37 loc) • 3.72 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 HeadsetIcon = function HeadsetIcon(_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: "M12.5 2C11.1868 2 9.88642 2.25866 8.67317 2.7612C7.45991 3.26375 6.35752 4.00035 5.42893 4.92893C4.50035 5.85752 3.76375 6.95991 3.2612 8.17317C2.75866 9.38642 2.5 10.6868 2.5 12V17.25C2.5 17.913 2.76339 18.5489 3.23223 19.0178C3.70107 19.4866 4.33696 19.75 5 19.75H6.5C7.16304 19.75 7.79893 19.4866 8.26777 19.0178C8.73661 18.5489 9 17.913 9 17.25V13.5C9 12.837 8.73661 12.2011 8.26777 11.7322C7.79893 11.2634 7.16304 11 6.5 11H4.56275C4.65182 10.293 4.83513 9.59962 5.10896 8.93853C5.511 7.96793 6.10028 7.08601 6.84315 6.34315C7.58601 5.60028 8.46793 5.011 9.43853 4.60896C10.4091 4.20693 11.4494 4 12.5 4C13.5506 4 14.5909 4.20693 15.5615 4.60896C16.5321 5.011 17.414 5.60028 18.1569 6.34315C18.8997 7.08601 19.489 7.96793 19.891 8.93853C20.1649 9.59962 20.3482 10.293 20.4373 11H18.5C17.837 11 17.2011 11.2634 16.7322 11.7322C16.2634 12.2011 16 12.837 16 13.5V17.25C16 17.913 16.2634 18.5489 16.7322 19.0178C17.2011 19.4866 17.837 19.75 18.5 19.75H20.4843C20.4291 20.1882 20.2299 20.5986 19.9142 20.9142C19.5391 21.2893 19.0304 21.5 18.5 21.5H13.25C12.6977 21.5 12.25 21.9477 12.25 22.5C12.25 23.0523 12.6977 23.5 13.25 23.5H18.5C19.5609 23.5 20.5783 23.0786 21.3284 22.3284C22.0786 21.5783 22.5 20.5609 22.5 19.5V12C22.5 10.6868 22.2413 9.38642 21.7388 8.17317C21.2362 6.95991 20.4997 5.85752 19.5711 4.92893C18.6425 4.00035 17.5401 3.26375 16.3268 2.7612C15.1136 2.25866 13.8132 2 12.5 2ZM4.5 17.25V13H6.5C6.63261 13 6.75978 13.0527 6.85355 13.1464C6.94732 13.2402 7 13.3674 7 13.5V17.25C7 17.3826 6.94732 17.5098 6.85355 17.6036C6.75978 17.6973 6.63261 17.75 6.5 17.75H5C4.86739 17.75 4.74022 17.6973 4.64645 17.6036C4.55268 17.5098 4.5 17.3826 4.5 17.25ZM18.5 13H20.5V17.75H18.5C18.3674 17.75 18.2402 17.6973 18.1464 17.6036C18.0527 17.5098 18 17.3826 18 17.25V13.5C18 13.3674 18.0527 13.2402 18.1464 13.1464C18.2402 13.0527 18.3674 13 18.5 13Z",
fill: iconColor
})
}));
};
export { HeadsetIcon as default };
//# sourceMappingURL=HeadsetIcon.js.map