Layouts
Reports
Combined reports view
The reports view combines the three most common reports into a single page, including the P&L, Balance Sheet, and Cash Flow Statement. These are the tabular forms of these reports rather than interactive charts.
import { Reports } from '@layerfi/components'
<ReportsView
stringOverrides={{
title: 'My reports title',
downloadButton: {
downloadButtonText: 'Export',
},
}}
enabledReports={['profitAndLoss']}
/>
Properties
enabledReports
ReportType[]
Array of reports to enable. Defaults to all three reports. Available values: ['profitAndLoss', 'balanceSheet', 'statementOfCashflow']
.
If more than one report is enabled, view will include a tabbed interface to switch between reports.
profitAndLossConfig
object
statementOfCashFlowConfig
object
stringOverrides
object