@jinshuju/field-icons-react
Version:
First, install `@jinshuju/field-icons-react` from npm:
28 lines • 1.1 kB
JavaScript
const React = require("react");
function FieldIconMail({
title,
titleId,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
"data-slot": "icon",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("g", {
clipPath: "url(#a)"
}, /*#__PURE__*/React.createElement("path", {
d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2Zm15.265 1.5H4.735l6.506 4.975a1.25 1.25 0 0 0 1.518 0L19.265 5.5ZM3.5 6.444V18c0 .272.228.5.5.5h16c.272 0 .5-.228.5-.5V6.444l-6.83 5.223a2.75 2.75 0 0 1-3.34 0L3.5 6.444Z"
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
id: "a"
}, /*#__PURE__*/React.createElement("rect", {
width: 24,
height: 24
}))));
}
const ForwardRef = /*#__PURE__*/ React.forwardRef(FieldIconMail);
module.exports = ForwardRef;