Skip to main content
Layer’s React components can be configured to display arbitrary React elements. These can be used to display links to external resources, or to navigate to other parts of your application. To do so, you need to implement a function that takes a LinkingMetadata object and returns a ReactNode. You can use the entityName property (an instance of the EntityName enum) to determine the type of entity being linked to (e.g., Bank Transaction or Invoice Payment), and render different links based on the entity type.
There are multiple places where links can be displayed:

BankTransactions / BankTransactionsWithLinkedAccounts

Links will appear in the details of suggested matches BankTransactions / BankTransactionsWithLinkedAccounts

GeneralLedger

Links will appear in the details of ledger entries GeneralLedger