import type { ReactElement } from 'react' import { EnrichedPostageBatch } from '../../providers/Stamps' import ExpandableList from '../../components/ExpandableList' import ExpandableListItem from '../../components/ExpandableListItem' import ExpandableListItemKey from '../../components/ExpandableListItemKey' interface Props { postageStamps: EnrichedPostageBatch[] | null } function StampsTable({ postageStamps }: Props): ReactElement | null { if (postageStamps === null) return null return ( {postageStamps.map(({ batchID, usageText }) => ( ))} ) } export default StampsTable