Skip to content

Commit d3968d4

Browse files
authored
docs: add missing useState import to React Transition Group example (#1080)
1 parent 28eed18 commit d3968d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/example-react-transition-group.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test('you can mock things with jest.mock', () => {
5454
## Shallow
5555

5656
```jsx
57-
import React from 'react'
57+
import React, {useState} from 'react'
5858
import {CSSTransition} from 'react-transition-group'
5959
import {render, fireEvent} from '@testing-library/react'
6060

0 commit comments

Comments
 (0)