import { Reports } from '@layerfi/components'
<Reports
stringOverrides={{
title: 'My reports title',
downloadButton: {
downloadButtonText: 'Export',
},
}}
enabledReports={['profitAndLoss']}
/>
Properties
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.object
Show ProfitAndLossConfig properties
Show ProfitAndLossConfig properties
enum
Date picker mode for the Profit and Loss report. Defaults to ‘monthPicker’.
Available values:
['dayRangePicker', 'monthPicker'].array
If more than one value is specified, users will be able to switch between them in the date picker.
Available values:
['dayRangePicker', 'monthPicker'].array
enum
Money format for CSV export. Defaults to “CENTS”, which formats it an integer of cents.
Available values:
['DOLLAR_STRING', 'DOLLAR_NUMBER', 'CENTS_NUMBER'].object
Show StatementOfCashFlowConfig properties
Show StatementOfCashFlowConfig properties
enum
Date picker mode for the Profit and Loss report. Defaults to ‘monthPicker’.
Available values:
['dayRangePicker', 'monthPicker'].array
If more than one value is specified, users will be able to switch between them in the date picker.
Available values:
['dayRangePicker', 'monthPicker'].object
Show ReportsStringOverrides properties
Show ReportsStringOverrides properties
string
Page title to place in the header.
object
object
Show ProfitAndLossStringOverrides properties
Show ProfitAndLossStringOverrides properties
object
Show ProfitAndLossDetailedChartsStringOverrides properties
Show ProfitAndLossDetailedChartsStringOverrides properties
object
Show ProfitAndLossTableStringOverrides properties
Show ProfitAndLossTableStringOverrides properties
object
Show StatementOfCashFlowStringOverrides properties
Show StatementOfCashFlowStringOverrides properties