"use strict";

exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _novaIcons = require("@coorpacademy/nova-icons");
var _classnames = _interopRequireDefault(require("classnames"));
var _style = _interopRequireDefault(require("./style.css"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Loader = ({
  className,
  theme = 'default'
}) => {
  return theme !== 'default' ? /*#__PURE__*/_react.default.createElement("div", {
    "data-name": "loader",
    className: (0, _classnames.default)(_style.default.cmLoaderContainer, className)
  }, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyCmLoader, {
    className: _style.default.cmLoaderGrey
  }), /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyCmLoader, {
    className: _style.default.cmLoaderLightGrey
  }), /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyCmLoader, {
    className: _style.default.cmLoaderBlue
  })) : /*#__PURE__*/_react.default.createElement("div", {
    "data-name": "loader",
    className: (0, _classnames.default)(_style.default.container, className)
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.dots
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.red
  }), /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.blue
  }), /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.green
  }), /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.yellow
  })));
};
Loader.propTypes = process.env.NODE_ENV !== "production" ? {
  className: _propTypes.default.string,
  theme: _propTypes.default.oneOf(['default', 'coorpmanager'])
} : {};
var _default = exports.default = Loader;
//# sourceMappingURL=index.js.map