Skip to content

PlacementProps

PlacementProps = object

Props for the Placement render-prop component.

optional autoLoad?: boolean

Auto-load on mount.


children: (args) => React.ReactNode

Render function receiving the placement state.

PlacementRenderArgs

React.ReactNode


optional contextMode?: RevTurbineContextMode

Context resolution mode.


optional fallback?: React.ReactNode

Fallback UI when the placement is not visible.


optional overrides?: RevTurbinePlacementDecisionOverrides

Decision overrides for testing.


placement: RevTurbinePlacementConfig

Placement configuration.


optional traits?: Record<string, string | number | boolean>

Custom traits.


optional ttlMs?: number

Cache TTL in milliseconds.


optional userId?: string

Target user ID.