Monitors:hosts, with some bugs and challenges to fix
This commit is contained in:
1 parent
7bd4ce9e6a
commit
f5bfb738b0
19 files changed
+422
-3
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import React from "react";
|
||||
|
||||
function HostStatus(backgroundColor, status, dotColor) {
|
||||
return (
|
||||
<div
|
||||
className="host-status-box"
|
||||
style={{ backgroundColor: backgroundColor }}
|
||||
>
|
||||
<div
|
||||
className="host-status-box-circle"
|
||||
style={{ backgroundColor: dotColor }}
|
||||
></div>
|
||||
<div className="host-status-box-text">{status}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default HostStatus;
|
||||
Reference in new issue
Block a user