"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_core_1 = require("@patternfly/react-core");
const React = tslib_1.__importStar(require("react"));
const BMHStatusInfo_1 = require("./BMHStatusInfo");
const BMHStatus = ({ bmhStatus, bmh }) => (React.createElement(react_core_1.Popover, { "aria-label": "Bare metal host status details", bodyContent: React.createElement(BMHStatusInfo_1.BMHStatusInfo, { bmhStatus: bmhStatus, bmh: bmh }), minWidth: "30rem", maxWidth: "50rem", hideOnOutsideClick: true, zIndex: 300 },
    React.createElement(react_core_1.Button, { variant: "link", isInline: true }, bmhStatus.state.title)));
exports.default = BMHStatus;
//# sourceMappingURL=BMHStatus.js.map