Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

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:

ParameterTypeReq?Description
creditHistoryParamsGetCompanyCreditHistoryParamsNoOptional parameters for credit history filtering and pagination
showCreditHistorybooleanNoWhether 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}
/>
);
}