UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 2.6 kB
const _excluded = ["bold", "width", "height"]; function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; } import React from "react"; import PropTypes from "prop-types"; const IconMicrophone = props => { const _props$bold = props.bold, bold = _props$bold === void 0 ? true : _props$bold, _props$width = props.width, width = _props$width === void 0 ? "24px" : _props$width, _props$height = props.height, height = _props$height === void 0 ? "24px" : _props$height, restProps = _objectWithoutPropertiesLoose(props, _excluded); if (bold) { return /*#__PURE__*/React.createElement("svg", _extends({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", fill: "currentColor", width: width, height: height }, restProps), /*#__PURE__*/React.createElement("path", { d: "M11.5 16.875A4.88 4.88 0 0 0 16.375 12V6a4.875 4.875 0 1 0-9.75 0v6a4.88 4.88 0 0 0 4.875 4.875M8.875 6a2.625 2.625 0 0 1 5.25 0v6a2.625 2.625 0 0 1-5.25 0zm3.75 14.552V22.5a1.125 1.125 0 1 1-2.25 0v-1.948A8.64 8.64 0 0 1 2.875 12a1.125 1.125 0 0 1 2.25 0 6.375 6.375 0 1 0 12.75 0 1.125 1.125 0 1 1 2.25 0 8.64 8.64 0 0 1-7.5 8.552" })); } return /*#__PURE__*/React.createElement("svg", _extends({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", fill: "currentColor", width: width, height: height }, restProps), /*#__PURE__*/React.createElement("path", { d: "M12 16.5a4.504 4.504 0 0 0 4.5-4.5V6a4.5 4.5 0 1 0-9 0v6a4.505 4.505 0 0 0 4.5 4.5M9 6a3 3 0 1 1 6 0v6a3 3 0 0 1-6 0zm3.75 13.462V22.5a.75.75 0 1 1-1.5 0v-3.038A7.51 7.51 0 0 1 4.5 12 .75.75 0 1 1 6 12a6 6 0 1 0 12 0 .75.75 0 1 1 1.5 0 7.51 7.51 0 0 1-6.75 7.462" })); }; IconMicrophone.propTypes = process.env.NODE_ENV !== "production" ? { bold: PropTypes.bool, width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), className: PropTypes.string, fill: PropTypes.string, 'aria-hidden': PropTypes.bool, 'aria-label': PropTypes.string } : {}; export { IconMicrophone as default }; IconMicrophone;