UNPKG

@crossed/unicons

Version:

unicons

29 lines (28 loc) 568 B
import { jsx } from "react/jsx-runtime"; import { useTheme } from "@crossed/styled"; const Check = ({ Svg, Path, color, size = 24 }) => { const theme = useTheme(); return /* @__PURE__ */ jsx( Svg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", stroke: color ?? theme.font.color, children: /* @__PURE__ */ jsx(Path, { d: "M20 6 9 17l-5-5" }) } ); }; export { Check }; //# sourceMappingURL=Check.js.map