Component Library
Installation
Ensure the library is included in your project by running:
Components Overview
OpenLedgerProvider
OpenLedgerProvider
is crucial as it wraps your application and provides configuration for all child components.
Warning: Without valid keys (companyId, enterpriseId, and enterpriseSecret), the package will throw errors. If you need to obtain these keys or have any issues, please reach out to the Open Ledger team at info@openledger.com for assistance.
Usage
Key Components
- OpenLedgerView: Integrates multiple financial views.
-
Other Components: Including
TransactionsView
,SettingsView
,LedgerView
, andReportView
.- TransactionsView
- SettingsView
- LedgerView
- ReportView
Theming and Customization
Customize component appearances using the theme
prop.
Defining a Theme
Applying the Theme
Using with Next.js
Integrate components within Next.js projects, focusing on client-side rendering techniques.