mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 14:26:39 +00:00
feat: create table structure
This commit is contained in:
parent
bc381e6873
commit
bd8fe67c99
@ -1,5 +1,40 @@
|
|||||||
|
import './ManagementTable.css'
|
||||||
|
|
||||||
const ManagementTable = () => {
|
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
|
export default ManagementTable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user