export default function Table(props: any) { return ( {props.columns.map((column: string) => )} {props.data.map((row: { [column: string]: any }, i: number) => {props.columns.map((_column: string, j: number) => )} )}
{column}
{JSON.stringify(row[j])}
); }