import "react";
import { jsx } from "../../../node_modules/.pnpm/@emotion_react@11.10.4_q4mq7tnhdumujvomvw24zx33y4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
import Checkbox$1 from "../../../node_modules/.pnpm/@arco-design_web-react@2.40.1_biqbaboplfbrettd7655fr4n2y/node_modules/@arco-design/web-react/es/Checkbox/checkbox.js";
const CheckboxGroup = Checkbox$1.Group;
const Checkbox = ({
  options,
  title,
  label,
  ...props
}) => {
  if (!options) {
    return /* @__PURE__ */ jsx(Checkbox$1, {
      ...props,
      children: label || title
    });
  }
  return /* @__PURE__ */ jsx(CheckboxGroup, {
    direction: "vertical",
    options,
    ...props
  });
};
export {
  Checkbox
};
//# sourceMappingURL=Checkbox.js.map
