UNPKG

1.1 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 "data-slot": "icon",
15 ref: svgRef,
16 "aria-labelledby": titleId
17 }, props), title ? /*#__PURE__*/React.createElement("title", {
18 id: titleId
19 }, title) : null, /*#__PURE__*/React.createElement("path", {
20 strokeLinecap: "round",
21 strokeLinejoin: "round",
22 d: "M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 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 0 0 3.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"
23 }));
24}
25const ForwardRef = React.forwardRef(SwatchIcon);
26module.exports = ForwardRef;
\No newline at end of file