Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt

Use this file to discover all available pages before exploring further.

This layout is deprecated. Use the new Reports layout instead.
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. Reports View
import { Reports } from '@layerfi/components'

<Reports
  stringOverrides={{
    title: 'My reports title',
    downloadButton: {
      downloadButtonText: 'Export',
    },
  }}
  enabledReports={['profitAndLoss']}
  renderInAppLink={convertLinkingMetadataToLink}
/>

Properties

showTitle
boolean
default:"true"
Controls whether the page title/header is displayed.
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.
Custom function for rendering in-app navigation links. See the In-App Linking guide for details.
comparisonConfig
ProfitAndLossCompareConfig
Configuration for P&L tag comparison mode.
profitAndLossConfig
TimeRangePickerConfig
statementOfCashFlowConfig
TimeRangePickerConfig
stringOverrides
ReportsStringOverrides