@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
43 lines (40 loc) • 2.61 kB
JavaScript
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import React from "react";
import PropTypes from "prop-types";
const SvgIconCopy = props => {
return /*#__PURE__*/React.createElement("svg", _extends({
"aria-hidden": "true",
width: "1em",
height: "1em",
viewBox: "0 0 13 16",
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink"
}, props), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("path", {
id: "icon-copy_svg__a",
d: "M0 .017h12.938V16H0z"
})), /*#__PURE__*/React.createElement("g", {
fill: "none",
fillRule: "evenodd"
}, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("mask", {
id: "icon-copy_svg__b",
fill: "#fff"
}, /*#__PURE__*/React.createElement("use", {
xlinkHref: "#icon-copy_svg__a"
})), /*#__PURE__*/React.createElement("path", {
d: "M11.973 12.387a.163.163 0 01-.161.161h-1.06V3.63c0-.623-.506-1.13-1.127-1.13H3.152V1.147c0-.088.073-.162.16-.162h8.5c.087 0 .16.074.16.162v11.24zM9.786 14.87a.163.163 0 01-.16.161h-8.5a.163.163 0 01-.16-.161V3.63c0-.088.073-.162.16-.162h8.5c.087 0 .16.074.16.162V14.87zM11.812.017h-8.5c-.62 0-1.126.506-1.126 1.129V2.5h-1.06C.506 2.5 0 3.007 0 3.63V14.87C0 15.493.505 16 1.126 16h8.5c.62 0 1.126-.507 1.126-1.129v-1.355h1.06c.62 0 1.126-.507 1.126-1.13V1.147c0-.623-.505-1.13-1.126-1.13z",
fill: "#000002",
mask: "url(#icon-copy_svg__b)"
})), /*#__PURE__*/React.createElement("path", {
d: "M8.452 4.8H2.923c-.268 0-.486.179-.486.4 0 .221.218.4.486.4h5.529c.268 0 .486-.179.486-.4 0-.22-.218-.4-.486-.4M8.452 7.2H2.923c-.268 0-.486.179-.486.4 0 .221.218.4.486.4h5.529c.268 0 .486-.179.486-.4 0-.221-.218-.4-.486-.4M8.452 9.6H2.923c-.268 0-.486.179-.486.4 0 .221.218.4.486.4h5.529c.268 0 .486-.179.486-.4 0-.221-.218-.4-.486-.4M8.452 12H2.923c-.268 0-.486.179-.486.4 0 .221.218.4.486.4h5.529c.268 0 .486-.179.486-.4 0-.221-.218-.4-.486-.4",
fill: "#000002"
})));
};
SvgIconCopy.propTypes = process.env.NODE_ENV !== "production" ? {
title: PropTypes.string,
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
className: PropTypes.string,
fill: PropTypes.string,
label: PropTypes.string
} : {};
export default SvgIconCopy;