ValyroUI Русская версия

Transaction List

Transactions: charges, top-ups, refunds and balance. Pro · Shop and payments › Payments and wallet

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add transaction-list
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { TransactionList } from 'valyro-ui-pro';

Props

PropTypeDefault
transactions *Transaction[]Operations, newest first.
currencystring'USD'ISO 4217 code of the amounts. Default USD.
titleReactNodeHeading above the list.
actionReactNodeLink or button at the end of the heading row: "View all".
showFooterbooleantrueSummary and color legend under the list. Default true.
showBalancebooleantrueShows the balance after each operation (hidden on narrow containers). Default true.
variant'card' | 'plain''card'card: a framed panel; plain: no frame, to sit inside another card. Default card.
headingLevel1 | 2 | 3 | 4 | 5 | 63Level of the heading (default 3).
localestringBCP 47 locale for money and dates.
timeZonestringIANA time zone for the dates.
labelsPartial<TransactionListLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

Previous: Payment Methods · Next: Wallet Balance · All Shop and payments