feature(database-connection): First implementation

This commit is contained in:
2021-01-08 17:15:50 +01:00
parent bce2c8964e
commit ceea2a7616
15 changed files with 276 additions and 181 deletions

View File

@@ -65,6 +65,7 @@ export default class App extends React.Component {
<tr key={index} className={placementClassName}>
<td>{placement}</td>
<td>{entry.name}</td>
<td>{entry.rank}</td>
<td>{entry.onlineTime}</td>
</tr>
)
@@ -92,6 +93,7 @@ export default class App extends React.Component {
<tr>
<th>Placement</th>
<th>Name</th>
<th>Rank</th>
<th>Online time</th>
</tr>
</thead>

View File

@@ -1,4 +1,5 @@
export default interface TableEntry {
name: string;
rank: string;
onlineTime: string;
}