16 lines
477 B
React
16 lines
477 B
React
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;
|