"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Status = Status;

var _styleModule = _interopRequireDefault(require("./style.module.css"));

var _jsxRuntime = require("react/jsx-runtime");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function Status(_ref) {
  var good = _ref.good,
      mixed = _ref.mixed,
      _ref$className = _ref.className,
      className = _ref$className === void 0 ? "" : _ref$className;
  var color = mixed ? _styleModule.default.mixed : good ? "bg-green-400" : "bg-red-400";
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
    className: "flex-shrink-0 inline-block h-3 w-3 rounded-full shadow-md ".concat(className, " ").concat(color),
    "aria-hidden": "true"
  });
}