mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 20:01:57 +00:00
fixed typo (#7785)
This commit is contained in:
@@ -41,7 +41,7 @@ Experimental versions of React may contain bugs. Don't use them in production.
|
||||
Wrap a part of the UI in `<Activity>` to manage its visibility state:
|
||||
|
||||
```js
|
||||
import {unstableActivity as Activity} from 'react';
|
||||
import {unstable_Activity as Activity} from 'react';
|
||||
|
||||
<Activity mode={isVisible ? 'visible' : 'hidden'}>
|
||||
<Page />
|
||||
|
||||
Reference in New Issue
Block a user