File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
version-7.1/using-react-redux
version-7.2/using-react-redux Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ export default connector(MyComponent)
202202Because types can be defined in any order, you can still declare your component before declaring the connector if you want.
203203
204204``` tsx
205- // alternately, declare `type Props = Props From Redux & {backgroundColor: string}`
205+ // alternately, declare `type Props = PropsFromRedux & {backgroundColor: string}`
206206interface Props extends PropsFromRedux {
207207 backgroundColor: string ;
208208}
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export default connector(MyComponent)
198198Because types can be defined in any order, you can still declare your component before declaring the connector if you want.
199199
200200``` tsx
201- // alternately, declare `type Props = Props From Redux & {backgroundColor: string}`
201+ // alternately, declare `type Props = PropsFromRedux & {backgroundColor: string}`
202202interface Props extends PropsFromRedux {
203203 backgroundColor: string ;
204204}
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export default connector(MyComponent)
198198Because types can be defined in any order, you can still declare your component before declaring the connector if you want.
199199
200200``` tsx
201- // alternately, declare `type Props = Props From Redux & {backgroundColor: string}`
201+ // alternately, declare `type Props = PropsFromRedux & {backgroundColor: string}`
202202interface Props extends PropsFromRedux {
203203 backgroundColor: string ;
204204}
You can’t perform that action at this time.
0 commit comments