Monitors:hosts, with some bugs and challenges to fix

This commit is contained in:
MuhammadKhalilzadeh committed 2024-06-13 10:44:16 +03:30
1 parent 7bd4ce9e6a
commit f5bfb738b0
19 files changed
+422 -3

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import React from "react";
import OpenIt from "../../assets/Images/Icon-open-in-tab-gray.png";
function Host(title, precentage, statusColor) {
return (
<div className="host-list-item">
<img className="host-list-item-open" src={OpenIt} alt="OpenIt" />
<div className="host-list-item-name">{title}</div>
<div className="host-list-item-precentage" style={{ color: statusColor }}>
{precentage}%
</div>
</div>
);
}
export default Host;