@crossed/unicons
Version:
unicons
40 lines (39 loc) • 889 B
JavaScript
import { jsx, jsxs } from "react/jsx-runtime";
import { useTheme } from "@crossed/styled";
const AlertTriangle = ({
Svg,
Path,
color,
size = 24
}) => {
const theme = useTheme();
const stroke = color ?? theme.font.color;
return /* @__PURE__ */ jsxs(
Svg,
{
width: size,
height: size,
viewBox: "0 0 24 24",
fill: "none",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round",
stroke,
children: [
/* @__PURE__ */ jsx(
Path,
{
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",
stroke
}
),
/* @__PURE__ */ jsx(Path, { d: "M12 9v4", stroke }),
/* @__PURE__ */ jsx(Path, { d: "M12 17h.01", stroke })
]
}
);
};
export {
AlertTriangle
};
//# sourceMappingURL=AlertTriangle.js.map