Skip to main content

ReactCustomDetailComponentConfig

ReactCustomDetailComponentConfig

Configures a React-based component to be placed in a detail page in the given location.

Signature
interface ReactCustomDetailComponentConfig {
locationId: CustomDetailComponentLocationId;
component: ElementType;
props?: Record<string, any>;
}

locationId

The id of the detail page location in which to place the component.

component

property
ElementType

The React component to render.

props

property
Record<string, any>

Optional props to pass to the React component.