adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
65 lines (64 loc) • 2.17 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgDriveHarddiskSystemSymbolic = (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: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M8 3a4 4 0 014 4c0 2.21-1.813 4.312-4 4H4V7a4 4 0 014-4zm0 2a2 2 0 100 4 2 2 0 000-4z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M3.197 0A2.217 2.217 0 001 2.201V13.8c0 1.199.995 2.2 2.197 2.2h9.607A2.215 2.215 0 0015 13.799V2.2c0-1.199-.994-2.2-2.196-2.2zm0 2h9.607c.124 0 .196.07.196.201V13.8c0 .13-.072.201-.196.201H3.197C3.073 14 3 13.93 3 13.799V2.2c0-.13.073-.201.197-.201z",
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",
marker: "none"
},
color: "#bebebe",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgDriveHarddiskSystemSymbolic);
var drive_harddisk_system_symbolic_default = Memo;
export {
drive_harddisk_system_symbolic_default as default
};