UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

40 lines (37 loc) 3.66 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 HeadphoneIcon = function HeadphoneIcon(_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: "M8.67317 3.5112C9.88642 3.00866 11.1868 2.75 12.5 2.75C13.8132 2.75 15.1136 3.00866 16.3268 3.5112C17.5401 4.01375 18.6425 4.75035 19.5711 5.67893C20.4997 6.60752 21.2362 7.70991 21.7388 8.92317C22.2413 10.1364 22.5 11.4368 22.5 12.75V18C22.5 18.663 22.2366 19.2989 21.7678 19.7678C21.2989 20.2366 20.663 20.5 20 20.5H18.5C17.837 20.5 17.2011 20.2366 16.7322 19.7678C16.2634 19.2989 16 18.663 16 18V14.25C16 13.587 16.2634 12.9511 16.7322 12.4822C17.2011 12.0134 17.837 11.75 18.5 11.75H20.4373C20.3482 11.043 20.1649 10.3496 19.891 9.68853C19.489 8.71793 18.8997 7.83601 18.1569 7.09315C17.414 6.35028 16.5321 5.761 15.5615 5.35896C14.5909 4.95693 13.5506 4.75 12.5 4.75C11.4494 4.75 10.4091 4.95693 9.43853 5.35896C8.46793 5.761 7.58601 6.35028 6.84315 7.09315C6.10028 7.83601 5.511 8.71793 5.10896 9.68853C4.83513 10.3496 4.65182 11.043 4.56275 11.75H6.5C7.16304 11.75 7.79893 12.0134 8.26777 12.4822C8.73661 12.9511 9 13.587 9 14.25V18C9 18.663 8.73661 19.2989 8.26777 19.7678C7.79893 20.2366 7.16304 20.5 6.5 20.5H5C4.33696 20.5 3.70107 20.2366 3.23223 19.7678C2.76339 19.2989 2.5 18.663 2.5 18V12.75C2.5 11.4368 2.75866 10.1364 3.2612 8.92317C3.76375 7.70991 4.50035 6.60752 5.42893 5.67893C6.35752 4.75035 7.45991 4.01375 8.67317 3.5112ZM4.5 13.75V18C4.5 18.1326 4.55268 18.2598 4.64645 18.3536C4.74022 18.4473 4.86739 18.5 5 18.5H6.5C6.63261 18.5 6.75978 18.4473 6.85355 18.3536C6.94732 18.2598 7 18.1326 7 18V14.25C7 14.1174 6.94732 13.9902 6.85355 13.8964C6.75978 13.8027 6.63261 13.75 6.5 13.75H4.5ZM20.5 13.75H18.5C18.3674 13.75 18.2402 13.8027 18.1464 13.8964C18.0527 13.9902 18 14.1174 18 14.25V18C18 18.1326 18.0527 18.2598 18.1464 18.3536C18.2402 18.4473 18.3674 18.5 18.5 18.5H20C20.1326 18.5 20.2598 18.4473 20.3536 18.3536C20.4473 18.2598 20.5 18.1326 20.5 18V13.75Z", fill: iconColor }) })); }; export { HeadphoneIcon as default }; //# sourceMappingURL=HeadphoneIcon.js.map