File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Notice that we wrap our components in a `Provider` like we'd normally do with `r
2424
2525## Use a component that is ` connect ` ed in ` options `
2626
27- Create a component, ` connect ` it to the store, then use that component in the ` title ` .
27+ Create a component, ` connect ` it to the store, then use that component in the ` headerTitle ` .
2828
2929<samp id =" redux-integration " />
3030
@@ -40,7 +40,7 @@ const CounterContainer = connect((state) => ({ value: state.count }))(Counter);
4040< Screen
4141 name= " Test"
4242 component= {TestScreen}
43- options= {{ title : () => < CounterContainer / > }}
43+ options= {{ headerTitle : () => < CounterContainer / > }}
4444/ >
4545```
4646
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Notice that we wrap our components in a `Provider` like we'd normally do with `r
2424
2525## Use a component that is ` connect ` ed in ` options `
2626
27- Create a component, ` connect ` it to the store, then use that component in the ` title ` .
27+ Create a component, ` connect ` it to the store, then use that component in the ` headerTitle ` .
2828
2929<samp id =" redux-integration " />
3030
@@ -40,7 +40,7 @@ const CounterContainer = connect((state) => ({ value: state.count }))(Counter);
4040< Stack .Screen
4141 name= " Test"
4242 component= {TestScreen}
43- options= {{ title : () => < CounterContainer / > }}
43+ options= {{ headerTitle : () => < CounterContainer / > }}
4444/ >
4545```
4646
You can’t perform that action at this time.
0 commit comments