Skip to content

Commit afedd8b

Browse files
authored
fix: importing missing ReactElement type (#851)
1 parent b818032 commit afedd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/react-testing-library/setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export { customRender as render }
7878
```
7979

8080
```tsx title="test-utils.tsx"
81-
import React, { FC } from 'react'
81+
import React, { FC, ReactElement } from 'react'
8282
import { render, RenderOptions } from '@testing-library/react'
8383
import { ThemeProvider } from 'my-ui-lib'
8484
import { TranslationProvider } from 'my-i18n-lib'

0 commit comments

Comments
 (0)