diff --git a/versioned_docs/version-5.x/redux-integration.md b/versioned_docs/version-5.x/redux-integration.md index 12870a5982..d5fd22e4d1 100755 --- a/versioned_docs/version-5.x/redux-integration.md +++ b/versioned_docs/version-5.x/redux-integration.md @@ -24,7 +24,7 @@ Notice that we wrap our components in a `Provider` like we'd normally do with `r ## Use a component that is `connect`ed in `options` -Create a component, `connect` it to the store, then use that component in the `title`. +Create a component, `connect` it to the store, then use that component in the `headerTitle`. @@ -40,7 +40,7 @@ const CounterContainer = connect((state) => ({ value: state.count }))(Counter); }} + options={{ headerTitle: () => }} /> ``` diff --git a/versioned_docs/version-6.x/redux-integration.md b/versioned_docs/version-6.x/redux-integration.md index 6cd5ea3fcf..4ab2aeb74c 100755 --- a/versioned_docs/version-6.x/redux-integration.md +++ b/versioned_docs/version-6.x/redux-integration.md @@ -24,7 +24,7 @@ Notice that we wrap our components in a `Provider` like we'd normally do with `r ## Use a component that is `connect`ed in `options` -Create a component, `connect` it to the store, then use that component in the `title`. +Create a component, `connect` it to the store, then use that component in the `headerTitle`. @@ -40,7 +40,7 @@ const CounterContainer = connect((state) => ({ value: state.count }))(Counter); }} + options={{ headerTitle: () => }} /> ```