Augeo Design SystemComponents
LedgerRow
One entry in a points history, with its reason, its date and a signed amount in neutral tones.
LedgerRow
LedgerRow is one line of a wallet's history. A credit carries a plus sign and a spend stays grey, because spending points is not a failure. A reward that moves no points, such as a code, shows its detail instead of an amount and can open again.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-background-sunken--augds-foreground-primary--augds-foreground-secondary--augds-foreground-tertiary--augds-interaction-focus-ring
Source
src/components/ui/ledger-row/ledger-row.tsx