Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
asadbek064 committed Sep 13, 2023
2 parents 751d60f + 2a590fb commit e3c43db
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 e3c43db

Please sign in to comment.