UNPKG

@crossed/unicons

Version:

unicons

34 lines (33 loc) 777 B
import { jsx, jsxs } from "react/jsx-runtime"; import { useTheme } from "@crossed/styled"; const Contrast = ({ Svg, Path, Circle, color: colorProps, size = 24 }) => { const theme = useTheme(); const color = colorProps ?? theme.font.color; return /* @__PURE__ */ jsxs( Svg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: `${color}`, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [ /* @__PURE__ */ jsx(Circle, { cx: "12", cy: "12", r: "10", stroke: `${color}` }), /* @__PURE__ */ jsx(Path, { d: "M12 18a6 6 0 0 0 0-12v12z", stroke: `${color}` }) ] } ); }; export { Contrast }; //# sourceMappingURL=Contrast.js.map