PlacementProps
PlacementProps =
object
Props for the Placement render-prop component.
Properties
Section titled “Properties”autoLoad?
Section titled “autoLoad?”
optionalautoLoad?:boolean
Auto-load on mount.
children
Section titled “children”children: (
args) =>React.ReactNode
Render function receiving the placement state.
Parameters
Section titled “Parameters”PlacementRenderArgs
Returns
Section titled “Returns”React.ReactNode
contextMode?
Section titled “contextMode?”
optionalcontextMode?:RevTurbineContextMode
Context resolution mode.
fallback?
Section titled “fallback?”
optionalfallback?:React.ReactNode
Fallback UI when the placement is not visible.
overrides?
Section titled “overrides?”
optionaloverrides?:RevTurbinePlacementDecisionOverrides
Decision overrides for testing.
placement
Section titled “placement”placement:
RevTurbinePlacementConfig
Placement configuration.
traits?
Section titled “traits?”
optionaltraits?:Record<string,string|number|boolean>
Custom traits.
ttlMs?
Section titled “ttlMs?”
optionalttlMs?:number
Cache TTL in milliseconds.
userId?
Section titled “userId?”
optionaluserId?:string
Target user ID.