Content to render. Accepts either a render prop or static children.
(resolvedEntry: Entry) => ReactNode: receives the
resolved entry (variant or baseline) and returns content to render.
Use this when you need the resolved entry data.ReactNode: rendered as-is without entry data.
Use this when you only need tracking, not variant resolution.The Contentful entry to optimize and track.
For optimized entries (those with nt_experiences), the component
automatically resolves variants. For non-optimized entries, the
entry is passed through unchanged.
OptionalliveWhether this component should react to optimization state changes in real-time.
Only applies to optimized entries; ignored for non-optimized entries.
When undefined, inherits from the liveUpdates prop on OptimizationRoot.
When false (or inherited as false), the component locks to the first variant
it receives, preventing UI flashing when user actions change their qualification.
When true, the component updates immediately when selected optimizations change.
OptionalonOptional callback invoked with the resolved entry after a tap tracking event is emitted.
When provided, implicitly enables tap tracking unless trackTaps is explicitly false.
OptionalstyleOptional style prop for the wrapper View.
OptionaltestOptional testID for testing purposes.
OptionalthresholdMinimum visibility ratio (0.0 - 1.0) required to consider the component "visible".
OptionaltrackPer-component override for tap tracking.
undefined: inherits from trackEntryInteraction.taps on OptimizationRoottrue: enable tap tracking for this entryfalse: disable tap tracking (overrides the global setting)OptionaltrackPer-component override for view tracking.
undefined: inherits from trackEntryInteraction.views on OptimizationRoottrue: enable view tracking for this entryfalse: disable view tracking for this entryOptionalviewInterval (in milliseconds) between periodic view duration update events after the initial event has fired.
OptionalviewMinimum time (in milliseconds) the component must be visible before tracking fires.
Props for the OptimizedEntry component.