Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
asadbek064 committed Sep 13, 2023
1 parent 1de32f1 commit 2a590fb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ import ReactAllPlayer from 'react-all-player';
/>;
```

### For NextJS
Dynamically import ReactAllPlayer to ensure it's only loaded on the client-side
```jsx
import dynamic from "next/dynamic";
const ReactAllPlayer = dynamic(() => import('react-all-player'), {
ssr: false,
});
```

## Props

Expand Down

0 comments on commit 2a590fb

Please sign in to comment.