UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.08 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 IconStudent = 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: "m21.357 5.302-9-3a1.1 1.1 0 0 0-.711 0l-9 3a1.125 1.125 0 0 0-.77 1.067v7.5a1.125 1.125 0 0 0 2.25 0v-5.94l2.223.741a6.37 6.37 0 0 0 1.727 7.97 9.4 9.4 0 0 0-3.762 3.364 1.125 1.125 0 1 0 1.884 1.229c1.338-2.059 3.46-3.24 5.803-3.24s4.466 1.181 5.808 3.24a1.12 1.12 0 0 0 1.566.341 1.124 1.124 0 0 0 .318-1.57 9.4 9.4 0 0 0-3.767-3.368 6.37 6.37 0 0 0 1.727-7.968l3.704-1.235a1.125 1.125 0 0 0 0-2.134zM12 4.552l5.442 1.817-5.442 1.814-5.437-1.814zm4.125 7.067a4.126 4.126 0 0 1-7.988 1.448 4.13 4.13 0 0 1 .389-3.67l3.119 1.039c.23.077.48.077.71 0l3.12-1.04a4.1 4.1 0 0 1 .65 2.223" })); } 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: "m21.237 5.66-9-3a.75.75 0 0 0-.474 0l-9 3a.75.75 0 0 0-.513.71v7.5a.75.75 0 0 0 1.5 0V7.412l3.149 1.05a6 6 0 0 0 1.936 8.254c-1.688.662-3.146 1.86-4.213 3.496a.75.75 0 1 0 1.256.82c1.413-2.168 3.644-3.41 6.122-3.41s4.709 1.242 6.122 3.41a.75.75 0 0 0 1.256-.82c-1.067-1.637-2.531-2.834-4.213-3.496a6 6 0 0 0 1.936-8.25l4.136-1.378a.75.75 0 0 0 0-1.423zM16.5 11.62a4.499 4.499 0 1 1-8.123-2.667l3.386 1.126a.75.75 0 0 0 .474 0l3.386-1.126a4.5 4.5 0 0 1 .877 2.668M12 8.58 5.372 6.37 12 4.162l6.628 2.21z" })); }; IconStudent.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 { IconStudent as default }; IconStudent;