"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.NoAccess = void 0;
var _react = _interopRequireDefault(require("react"));
var _jsxRuntime = require("react/jsx-runtime");
const NoAccess = _ref => {
  let {
    title
  } = _ref;
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.default.Fragment, {
    children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
      className: "error-container",
      children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
        children: [title, " is not accessible. Please contact administrator."]
      })
    })
  });
};
exports.NoAccess = NoAccess;
var _default = exports.default = NoAccess;