import * as React from "react"; interface IProps { title: string; stats: any[][]; } export function EarningsTableElement(props: IProps): React.ReactElement { return ( <>
{props.title}
{props.stats.map((stat: any[], i: number) => ( {stat.map((s: any, i: number) => { let style = {}; if (i !== 0) { style = { textAlign: "right" }; } return ( ); })} ))}
{s}
); }