@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.1 kB
JavaScript
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 IconFileVideo = 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.67 7.455-5.25-5.25a1.12 1.12 0 0 0-.795-.33h-9A1.875 1.875 0 0 0 3.75 3.75v6.376a1.125 1.125 0 0 0 2.25 0v-6h7.125v4.5A1.125 1.125 0 0 0 14.25 9.75h4.5v10.125a1.125 1.125 0 1 0 0 2.25h.375A1.875 1.875 0 0 0 21 20.25v-12a1.13 1.13 0 0 0-.33-.795m-5.295-2.11L17.531 7.5h-2.156zm-.18 7.939a1.13 1.13 0 0 0-1.117-.014l-1.844 1.022a1.88 1.88 0 0 0-1.734-1.166H4.875A1.875 1.875 0 0 0 3 15v4.5a1.875 1.875 0 0 0 1.875 1.874H10.5a1.875 1.875 0 0 0 1.734-1.166l1.844 1.025a1.125 1.125 0 0 0 1.672-.984v-6a1.13 1.13 0 0 0-.554-.969zm-5.07 5.841H5.25v-3.75h4.875zm3.375-.786-1.125-.625v-.927l1.125-.625z"
}));
}
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.406 7.72-5.25-5.25a.75.75 0 0 0-.531-.22h-9a1.5 1.5 0 0 0-1.5 1.5v6.75a.75.75 0 1 0 1.5 0V3.75h8.25v4.5a.75.75 0 0 0 .75.75h4.5v11.25h-.75a.75.75 0 1 0 0 1.5h.75a1.5 1.5 0 0 0 1.5-1.5v-12a.75.75 0 0 0-.22-.53m-5.031-2.91 2.69 2.69h-2.69zm-.386 8.784a.75.75 0 0 0-.762.02l-1.87 1.169a1.5 1.5 0 0 0-1.482-1.282h-6a1.5 1.5 0 0 0-1.5 1.5v4.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.482-1.283l1.87 1.168a.75.75 0 0 0 1.148-.636v-6a.75.75 0 0 0-.386-.656M10.875 19.5h-6V15h6zm3-.602-1.5-.938v-1.42l1.5-.937z"
}));
};
IconFileVideo.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 { IconFileVideo as default };
IconFileVideo;