UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 2.71 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 IconVideo = 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: "M20.25 3.375H3.75A1.875 1.875 0 0 0 1.875 5.25V15a1.875 1.875 0 0 0 1.875 1.875h16.5a1.875 1.875 0 0 0 1.875-1.874V5.25a1.875 1.875 0 0 0-1.875-1.876m-.375 11.25H4.125v-9h15.75zm2.25 4.875A1.125 1.125 0 0 1 21 20.626H3a1.125 1.125 0 1 1 0-2.25h18a1.125 1.125 0 0 1 1.125 1.125M9.75 12V8.25a1.125 1.125 0 0 1 1.721-.954l3 1.875a1.125 1.125 0 0 1 0 1.909l-3 1.875A1.126 1.126 0 0 1 9.75 12" })); } 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: "m15.416 9.876-4.5-3A.75.75 0 0 0 9.75 7.5v6a.75.75 0 0 0 1.166.624l4.5-3a.752.752 0 0 0 0-1.248m-4.166 2.222V8.906l2.398 1.594zm9-8.348H3.75a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h16.5a1.5 1.5 0 0 0 1.5-1.5V5.25a1.5 1.5 0 0 0-1.5-1.5m0 12H3.75V5.25h16.5zm1.5 3.75a.75.75 0 0 1-.75.75H3a.75.75 0 1 1 0-1.5h18a.75.75 0 0 1 .75.75" })); }; IconVideo.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 { IconVideo as default }; IconVideo;