UNPKG

@heroui/shared-icons

Version:

Internal icons set, commonly used in the components stories

42 lines (40 loc) 1.16 kB
// src/check.tsx import { jsx } from "react/jsx-runtime"; var CheckIcon = ({ filled = false, ...props }) => filled ? /* @__PURE__ */ jsx( "svg", { "aria-hidden": "true", fill: "none", focusable: "false", height: "1em", viewBox: "0 0 24 24", width: "1em", ...props, children: /* @__PURE__ */ jsx( "path", { d: "M12 2C6.49 2 2 6.49 2 12C2 17.51 6.49 22 12 22C17.51 22 22 17.51 22 12C22 6.49 17.51 2 12 2ZM16.78 9.7L11.11 15.37C10.97 15.51 10.78 15.59 10.58 15.59C10.38 15.59 10.19 15.51 10.05 15.37L7.22 12.54C6.93 12.25 6.93 11.77 7.22 11.48C7.51 11.19 7.99 11.19 8.28 11.48L10.58 13.78L15.72 8.64C16.01 8.35 16.49 8.35 16.78 8.64C17.07 8.93 17.07 9.4 16.78 9.7Z", fill: "currentColor" } ) } ) : /* @__PURE__ */ jsx( "svg", { "aria-hidden": "true", fill: "none", focusable: "false", height: "1em", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", width: "1em", ...props, children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" }) } ); export { CheckIcon };