converting more blade to react/ts

This commit is contained in:
Olivier Gagnon
2021-06-18 16:22:12 -04:00
parent 0e9d7450c9
commit 988ca37764
15 changed files with 421 additions and 351 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import * as React from "react";
export function StatsTable(rows: any[][], title: string | null): React.ReactElement {
export function StatsTable(rows: any[][], title?: string): React.ReactElement {
let titleElem = <></>
if (title) {
titleElem = <><h2><u>{title}</u></h2><br /></>;