UNPKG

1.07 kBJavaScriptView Raw
1const React = require("react");
2function SwatchIcon({
3 title,
4 titleId,
5 ...props
6}, svgRef) {
7 return /*#__PURE__*/React.createElement("svg", Object.assign({
8 xmlns: "http://www.w3.org/2000/svg",
9 fill: "none",
10 viewBox: "0 0 24 24",
11 strokeWidth: 1.5,
12 stroke: "currentColor",
13 "aria-hidden": "true",
14 ref: svgRef,
15 "aria-labelledby": titleId
16 }, props), title ? /*#__PURE__*/React.createElement("title", {
17 id: titleId
18 }, title) : null, /*#__PURE__*/React.createElement("path", {
19 strokeLinecap: "round",
20 strokeLinejoin: "round",
21 d: "M4.098 19.902a3.75 3.75 0 005.304 0l6.401-6.402M6.75 21A3.75 3.75 0 013 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 003.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008z"
22 }));
23}
24const ForwardRef = React.forwardRef(SwatchIcon);
25module.exports = ForwardRef;
\No newline at end of file