CompanyCredit Container
Overview
The CompanyCredit container component for the drop-in.
Version: 1.0.0-beta16
Configuration
The CompanyCredit container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
creditHistoryParams | GetCompanyCreditHistoryParams | No | Optional parameters for credit history filtering and pagination |
showCreditHistory | boolean | No | Whether to show the credit history section |
Slots
This container does not currently expose any customizable slots.
Usage
The following example demonstrates how to use the CompanyCredit container:
import { CompanyCredit } from '@dropins/storefront-company-management';
export default function MyComponent() { return ( <CompanyCredit creditHistoryParams={creditHistoryParams} showCreditHistory={true} /> );}