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.
Type Declaration
Section titled “Type Declaration”accepts?
Section titled “accepts?”
optionalaccepts?: (output) =>boolean
Parameters
Section titled “Parameters”output
Section titled “output”PlacementOutput
Returns
Section titled “Returns”boolean
componentType?
Section titled “componentType?”
optionalcomponentType?:RevTurbineComponentType
Canonical component type handled by this renderer.
defaultProps?
Section titled “defaultProps?”
optionaldefaultProps?:Partial<P>
priority?
Section titled “priority?”
optionalpriority?:number
Resolution priority (default 0). Higher values are evaluated first.
renderedFields?
Section titled “renderedFields?”
optionalrenderedFields?: readonlystring[]
Machine-readable fields rendered by this component.
surfaceType?
Section titled “surfaceType?”
optionalsurfaceType?:RevTurbineComponentType
Type Parameters
Section titled “Type Parameters”P extends PlacementSlotProps = PlacementSlotProps