"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("@emotion/react");
require("react");
const jsxRuntime = require("@emotion/react/jsx-runtime");
const style = require("./style.js");
const loading = require("../../../assets/icon/loading.svg.js");
const NormalButton = function({
  children,
  loading: loading$1,
  onClick,
  cssStyle,
  className
}) {
  return /* @__PURE__ */ jsxRuntime.jsxs(
    style.ButtonWrap,
    {
      loading: loading$1,
      css: cssStyle,
      className,
      onClick,
      children: [
        /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children }),
        /* @__PURE__ */ jsxRuntime.jsx("img", { src: loading, style: { display: loading$1 ? "block" : "none" } })
      ]
    }
  );
};
exports.NormalButton = NormalButton;
//# sourceMappingURL=index.js.map
