import { ReactElement } from 'react' import { makeStyles } from '@material-ui/core/styles' import { Table, TableBody, TableCell, TableContainer, TableRow, TableHead, Paper, Container, CircularProgress, } from '@material-ui/core' import { ConvertBalanceToBZZ } from '../../utils/common' import type { AllSettlements, Settlements } from '@ethersphere/bee-js' const useStyles = makeStyles({ table: { minWidth: 650, }, }) interface Props { nodeSettlements: AllSettlements | null loading?: boolean } function SettlementsTable(props: Props): ReactElement { const classes = useStyles() return (