UNPKG

@crossed/unicons

Version:

unicons

35 lines (34 loc) 768 B
import { jsx, jsxs } from "react/jsx-runtime"; import { useTheme } from "@crossed/styled"; const XCircle = ({ Svg, Path, Circle, 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(Circle, { cx: "12", cy: "12", r: "10", stroke }), /* @__PURE__ */ jsx(Path, { d: "m15 9-6 6", stroke }), /* @__PURE__ */ jsx(Path, { d: "m9 9 6 6", stroke }) ] } ); }; export { XCircle }; //# sourceMappingURL=XCircle.js.map