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)
202
202
Because types can be defined in any order, you can still declare your component before declaring the connector if you want.
203
203
204
204
``` tsx
205
- // alternately, declare `type Props = Props From Redux & {backgroundColor: string}`
205
+ // alternately, declare `type Props = PropsFromRedux & {backgroundColor: string}`
206
206
interface Props extends PropsFromRedux {
207
207
backgroundColor: string ;
208
208
}
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export default connector(MyComponent)
198
198
Because types can be defined in any order, you can still declare your component before declaring the connector if you want.
199
199
200
200
``` tsx
201
- // alternately, declare `type Props = Props From Redux & {backgroundColor: string}`
201
+ // alternately, declare `type Props = PropsFromRedux & {backgroundColor: string}`
202
202
interface Props extends PropsFromRedux {
203
203
backgroundColor: string ;
204
204
}
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export default connector(MyComponent)
198
198
Because types can be defined in any order, you can still declare your component before declaring the connector if you want.
199
199
200
200
``` tsx
201
- // alternately, declare `type Props = Props From Redux & {backgroundColor: string}`
201
+ // alternately, declare `type Props = PropsFromRedux & {backgroundColor: string}`
202
202
interface Props extends PropsFromRedux {
203
203
backgroundColor: string ;
204
204
}
You can’t perform that action at this time.
0 commit comments