Table cells

Typed cells for accounts, currency, numbers, and people. Each renders a TableCell.

Overview

AccountOwnerBalanceCount
Chase CheckingJPMorgan Chase
Shared$12,340.00CAD24
Ally SavingsAlly Financial
Scott$45,600.00USD12

Developer

import { AccountCell, CurrencyCell, NumericCell, PersonCell } from "@financial-tracking/design-system"

AccountCell

PropTypeDefault
nameRequired.string—
institutionstring—
iconSrcstring—
hrefWraps content in a Link when set.string—
sizePassed to ContentLockup."default" | "small""small"

CurrencyCell

PropTypeDefault
childrenFormatted amount.ReactNode—
currencyOptional code label (e.g. CAD).string—

NumericCell

PropTypeDefault
childrenRight-aligned tabular number.ReactNode—

PersonCell

PropTypeDefault
childrenOwner or person label.ReactNode—