File tree 3 files changed +20
-4
lines changed
3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 602
602
"contributions" : [
603
603
" doc"
604
604
]
605
+ },
606
+ {
607
+ "login" : " Josh-Cena" ,
608
+ "name" : " Joshua Chen" ,
609
+ "avatar_url" : " https://avatars.githubusercontent.com/u/55398995?v=4" ,
610
+ "profile" : " https://joshcena.com/" ,
611
+ "contributions" : [
612
+ " code"
613
+ ]
605
614
}
606
615
],
607
616
"skipCi" : true ,
Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ library will instead be included as official additions to both `react-testing-li
46
46
([ PR] ( https://github.com/callstack/react-native-testing-library/pull/923 ) ) with the intention being
47
47
to provide a more cohesive and consistent implementation for our users.
48
48
49
- Please be patient as we finalise these changes in the respective testing libraries.
50
- In the mean time you can install ` @testing-library/react@^13.1 `
49
+ Please be patient as we finalise these changes in the respective testing libraries. In the mean time
50
+ you can install ` @testing-library/react@^13.1 `
51
51
52
52
## Table of Contents
53
53
@@ -263,6 +263,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
263
263
<td align="center"><a href="https://www.facebook.com/masoud.bonabi"><img src="https://avatars.githubusercontent.com/u/6429009?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Masious</b></sub></a><br /><a href="https://github.com/testing-library/react-hooks-testing-library/commits?author=masious" title="Documentation">📖</a></td>
264
264
<td align="center"><a href="https://github.com/Laishuxin"><img src="https://avatars.githubusercontent.com/u/56504759?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Laishuxin</b></sub></a><br /><a href="https://github.com/testing-library/react-hooks-testing-library/commits?author=Laishuxin" title="Documentation">📖</a></td>
265
265
</tr >
266
+ <tr >
267
+ <td align="center"><a href="https://joshcena.com/"><img src="https://avatars.githubusercontent.com/u/55398995?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Joshua Chen</b></sub></a><br /><a href="https://github.com/testing-library/react-hooks-testing-library/commits?author=Josh-Cena" title="Code">💻</a></td>
268
+ </tr >
266
269
</table >
267
270
268
271
<!-- markdownlint-restore -->
Original file line number Diff line number Diff line change 1
- import { ComponentType } from 'react'
1
+ import { ComponentType , ReactNode } from 'react'
2
2
3
3
import {
4
4
RenderHookOptions as BaseRenderHookOptions ,
@@ -8,7 +8,11 @@ import {
8
8
CleanupCallback
9
9
} from '.'
10
10
11
- export type WrapperComponent < TProps > = ComponentType < TProps >
11
+ export type WrapperComponent < TProps > = ComponentType <
12
+ TProps & {
13
+ children : ReactNode
14
+ }
15
+ >
12
16
13
17
export type RendererOptions < TProps > = {
14
18
wrapper ?: WrapperComponent < TProps >
You can’t perform that action at this time.
0 commit comments