UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

43 lines (42 loc) 1.43 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgDialogWarningSymbolic = (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: "M7.906.094c-.525-.029-1.038.283-1.437.969L.219 12.655C-.315 13.62.267 15 1.313 15h13.156c.982 0 1.903-1.16 1.219-2.344L9.375 1.125C8.976.479 8.432.122 7.906.094zM7.97 4.03c.544-.017 1.048.487 1.031 1.032V9c.007.528-.471 1-1 1-.528 0-1.007-.472-1-1V5.062a1.033 1.033 0 01.813-1 1 1 0 01.156-.03zM8 11a1 1 0 110 2 1 1 0 010-2z", style: { marker: "none" }, color: "#bebebe", overflow: "visible", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgDialogWarningSymbolic); var dialog_warning_symbolic_default = Memo; export { dialog_warning_symbolic_default as default };