UNPKG

@crossed/unicons

Version:

unicons

41 lines (40 loc) 1.34 kB
import { jsx, jsxs } from "react/jsx-runtime"; import { useTheme } from "@crossed/styled"; const Sun = ({ Svg, Path, Circle, color, size = 25 }) => { const theme = useTheme(); const stroke = theme.font.color; return /* @__PURE__ */ jsxs( Svg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color ?? stroke, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [ /* @__PURE__ */ jsx(Circle, { cx: "12", cy: "12", r: "4", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "M12 2v2", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "M12 20v2", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "m4.93 4.93 1.41 1.41", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "m17.66 17.66 1.41 1.41", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "M2 12h2", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "M20 12h2", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "m6.34 17.66-1.41 1.41", stroke: color ?? stroke }), /* @__PURE__ */ jsx(Path, { d: "m19.07 4.93-1.41 1.41", stroke: color ?? stroke }) ] } ); }; export { Sun }; //# sourceMappingURL=Sun.js.map