Back to Vendure

CustomDetailComponentConfig

docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component-config.mdx

3.7.21.1 KB
Original Source
<GenerationInfo sourceFile="packages/admin-ui/src/lib/core/src/providers/custom-detail-component/custom-detail-component-types.ts" sourceLine="25" packageName="@vendure/admin-ui" />

Configures a CustomDetailComponent to be placed in the given location.

ts
interface CustomDetailComponentConfig {
    locationId: CustomDetailComponentLocationId;
    component: Type<CustomDetailComponent>;
    providers?: Provider[];
}
<div className="members-wrapper">

locationId

<MemberInfo kind="property" type={<a href='/reference/admin-ui-api/custom-detail-components/custom-detail-component-location-id#customdetailcomponentlocationid'>CustomDetailComponentLocationId</a>} />

component

<MemberInfo kind="property" type={Type<<a href='/reference/admin-ui-api/custom-detail-components/custom-detail-component#customdetailcomponent'>CustomDetailComponent</a>>} />

providers

<MemberInfo kind="property" type={Provider[]} />

</div>