adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
73 lines (72 loc) • 2.29 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgXOfficeSpreadsheetSymbolic = (passedProps, ...restArgs) => {
const {
colored,
containerProps = {},
...rest
} = passedProps;
if (colored && typeof colored === "string") {
if (!containerProps.style) {
containerProps.style = {};
}
Object.assign(containerProps.style, {
"--custom-icon-color": colored
});
}
const render = (props) => /* @__PURE__ */ React.createElement("span", {
...containerProps,
className: cx("Icon", containerProps.className, {
colored
})
}, /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 16 16",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M3 1a1 1 0 00-1 1v13a1 1 0 001 1h10a1 1 0 001-1V5.5a1 1 0 00-.293-.707l-3.5-3.5A1 1 0 009.5 1zm1 2h5.086L12 5.914V14H4z",
style: {
lineHeight: "normal",
fontVariantLigatures: "normal",
fontVariantPosition: "normal",
fontVariantCaps: "normal",
fontVariantNumeric: "normal",
fontVariantAlternates: "normal",
fontFeatureSettings: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
textOrientation: "mixed",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal"
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M9 2v4h4z",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M4.986 3.986h1v1h-1zm2 0h1v1h-1zm-2 2h1v1h-1zm2 0h1v1h-1zm-2 6h1v1h-1zm2 0h1v1h-1zm2 0h1v1h-1zm-4-.989h6V9.986L9.517 7.434 7.986 9.481 6.517 8.42 4.986 9.986z",
style: {
marker: "none"
},
color: "#000",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgXOfficeSpreadsheetSymbolic);
var x_office_spreadsheet_symbolic_default = Memo;
export {
x_office_spreadsheet_symbolic_default as default
};