Skip to content

Settings

Settings payouts bank manage

The Bank details screen behind Payouts, presenting a labelled form of account holder, bank name, and masked account and routing numbers.
Available
Ports as-is

Examples

Rendered live from the maintained Storybook story. Lantern stores only the story id and embeds Storybook rather than duplicating the component or its demo.

Settings payouts bank manage

Rendered live from Storybook

Storybook must be running for this to load — bun run start:storybook from the monorepo root, or set NEXT_PUBLIC_STORYBOOK_URL to a deployed instance.

Props

The component's public API, read from its TypeScript source. Descriptions come from TSDoc on the prop, so this table cannot drift from the component.

PropTypeDefaultDescription
onBack*() => void—Leaves the screen.
bankDetailsPayoutBankDetailsEMPTY_PAYOUT_BANK_DETAILSValues shown in the fields. Defaults to empty display values.
onUpdate() => void—Fired by "Update". Carries no field values — see the note below.
countriesPayoutBankCountry[]PAYOUT_BANK_COUNTRIESCountry options. Defaults to `PAYOUT_BANK_COUNTRIES`.
onCountryChange(country: string) => void—Selection callback for the country control.
canUpdatebooleanfalseEnables the "Update" button. Supplied rather than computed — this mock runs no validation, so a derived enabled state would imply a check that is not happening.
revealAccountNumberbooleanfalseRenders the account number unmasked, for a static "focused" story.
revealRoutingNumberbooleanfalseRenders the routing number unmasked, for a static "focused" story.
classNamestring—Undocumented — add TSDoc to the prop in the library.

Reference

Transcribed from the component audit. If this disagrees with the source, the source is right.

Source
src/components/settings/SettingsPayoutsBankManage.tsx
Portability
Copies across unchanged — only the utils import path moves.
Notes
Use it as the drill-in screen from Payouts for reviewing bank details on file, with account and routing numbers masked to their last four digits by default. Every field is read-only with autocomplete disabled and there is no validation or submission logic built in, so the Update button's enabled state must be supplied explicitly via a prop.