Skip to content

Commit 2bd6407

Browse files
committed
docs: add recipe for all props as payload
1 parent ab0196e commit 2bd6407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes/all-props-as-payload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ What you will do:
1212
- Configure `withViewModel` HOC with `getPayload` function that returns all props as payload
1313
- Override type of output React component into fixed type
1414

15-
```tsx{10,22,24}
15+
```tsx{8,20,22}
1616
import { withViewModel } from 'mobx-view-model';
1717
import { ViewModelBase } from 'mobx-view-model';
1818

0 commit comments

Comments
 (0)