feat: create table structure

This commit is contained in:
RadoslavDimchev 2023-11-03 10:02:46 +02:00
parent bc381e6873
commit bd8fe67c99
1 changed files with 36 additions and 1 deletions

View File

@ -1,5 +1,40 @@
import './ManagementTable.css'
const ManagementTable = () => {
return <table></table>
const validators = []
return (
<table>
<thead>
<tr>
<th></th>
<th>Balance</th>
<th>Income</th>
<th>Proposals</th>
<th>Attestations</th>
<th>Effectiveness</th>
<th>Deposits</th>
<th>Rank</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{validators.map((validator, index) => (
<tr key={index}>
<td></td>
<td>{validator.balance}</td>
<td>{validator.income}</td>
<td>{validator.proposals}</td>
<td>{validator.attestations}</td>
<td>{validator.effectiveness}</td>
<td>{validator.deposits}</td>
<td>{validator.rank}</td>
<td>{validator.status}</td>
</tr>
))}
</tbody>
</table>
)
}
export default ManagementTable