adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
62 lines (61 loc) • 2.01 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgFormatTextItalicSymbolic = (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("path", {
d: "M4.494 3v2h6c.428 0 .607.281.482.732L10.625 7h-5.24C3.546 7 2.254 8.343 1.879 9.74c-.188.7-.174 1.477.238 2.155.412.677 1.252 1.105 2.16 1.105h6.76l1.865-6.732C13.337 4.698 12.174 3 10.494 3zm.89 6h4.686l-.555 2H4.277c-.398 0-.409-.072-.453-.145-.044-.072-.094-.294-.014-.595C3.972 9.657 4.54 9 5.385 9z",
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: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgFormatTextItalicSymbolic);
var format_text_italic_symbolic_default = Memo;
export {
format_text_italic_symbolic_default as default
};