commit to discuss
This commit is contained in:
1 parent
bc48a28296
commit
3ece902d57
9 files changed
+277
-34
No files matched your search
@@ -1,10 +1,12 @@
|
||||
import React from "react";
|
||||
import OpenIt from "../../assets/Images/Icon-open-in-tab-gray.png";
|
||||
|
||||
function Host(title, precentage, statusColor) {
|
||||
function Host(title, precentage, statusColor, link) {
|
||||
return (
|
||||
<div className="host-list-item">
|
||||
<img className="host-list-item-open" src={OpenIt} alt="OpenIt" />
|
||||
<a href={link} target="_blank">
|
||||
<img className="host-list-item-open" src={OpenIt} alt="OpenIt" />
|
||||
</a>
|
||||
<div className="host-list-item-name">{title}</div>
|
||||
<div className="host-list-item-precentage" style={{ color: statusColor }}>
|
||||
{precentage}%
|
||||
|
||||
Reference in new issue
Block a user