Skip to content

Commit 5abf1be

Browse files
authored
docs: Fix typo in ConnectedProps example (#1668)
1 parent 0e71c05 commit 5abf1be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/using-react-redux/static-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export default connector(MyComponent)
202202
Because 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}`
206206
interface Props extends PropsFromRedux {
207207
backgroundColor: string;
208208
}

website/versioned_docs/version-7.1/using-react-redux/static-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default connector(MyComponent)
198198
Because 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}`
202202
interface Props extends PropsFromRedux {
203203
backgroundColor: string;
204204
}

website/versioned_docs/version-7.2/using-react-redux/static-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default connector(MyComponent)
198198
Because 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}`
202202
interface Props extends PropsFromRedux {
203203
backgroundColor: string;
204204
}

0 commit comments

Comments
 (0)