Component Library
The AccelBooks Component Library offers a comprehensive suite of React components designed for building sophisticated financial dashboards and managing accounting data efficiently. This guide will help you understand how to install, configure, and effectively use the library in your projects.
Installation
Ensure the library is included in your project by running:
Components Overview
AccelProvider
AccelProvider
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 AccelBooks team at info@accelbooks.com for assistance.
Usage
Key Components
-
AccelView: 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.