Skip to content

RegisterPlacementSlotTypeOptions

RegisterPlacementSlotTypeOptions<P> = Omit<PlacementSlotType<P>, "componentType" | "accepts" | "defaultProps" | "priority" | "renderedFields"> & object

Options for registering a custom placement type. Identical to PlacementSlotType but all fields are required except defaultProps, accepts, and priority.

optional accepts?: (output) => boolean

PlacementOutput

boolean

optional componentType?: RevTurbineComponentType

Canonical component type handled by this renderer.

optional defaultProps?: Partial<P>

optional priority?: number

Resolution priority (default 0). Higher values are evaluated first.

optional renderedFields?: readonly string[]

Machine-readable fields rendered by this component.

optional surfaceType?: RevTurbineComponentType

P extends PlacementSlotProps = PlacementSlotProps