adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
59 lines (58 loc) • 1.76 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgMediaFloppySymbolic = (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", {
color: "#bebebe",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M2.969 1A1.984 1.984 0 001 2.969v9.469l.313.28L3 14.407V3h10v10h-2v2h2.031A1.984 1.984 0 0015 13.031V2.97A1.984 1.984 0 0013.031 1z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "sans-serif",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
fontWeight: 400,
fontSize: "xx-small",
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M5 9c-.554 0-1 .446-1 1v4c0 .554.446 1 1 1h4c.554 0 1-.446 1-1v-4c0-.554-.446-1-1-1zm0 1h2v4H5z",
style: {
marker: "none"
},
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgMediaFloppySymbolic);
var media_floppy_symbolic_default = Memo;
export {
media_floppy_symbolic_default as default
};