adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
90 lines (89 loc) • 2.77 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgEmojiFlagsSymbolic = (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.003 16",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "#2e3436",
fillRule: "evenodd"
}, /* @__PURE__ */ React.createElement("path", {
d: "M2.003 1v14h2V1z",
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"
}), /* @__PURE__ */ React.createElement("path", {
d: "M3.003 1a1 1 0 00-1 1v6a1 1 0 001 1h3.383l.722 1.447a1 1 0 00.895.553h5a1 1 0 001-1V4a1 1 0 00-1-1H9.62l-.722-1.447A1 1 0 008.003 1zm1 2h3.383l.722 1.447A1 1 0 009.003 5h3v4H8.62l-.722-1.447A1 1 0 007.003 7h-3z",
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"
}), /* @__PURE__ */ React.createElement("path", {
d: "M3.003 8h4l1 2h5V4h-4l-1-2h-5z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgEmojiFlagsSymbolic);
var emoji_flags_symbolic_default = Memo;
export {
emoji_flags_symbolic_default as default
};