Skip to content

Commit e5197f6

Browse files
Nirav JoshiNirav Joshi
authored andcommitted
updatedreadme
1 parent 24d05b3 commit e5197f6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ To install react mui sidebar npm package
2424
npm i react-mui-sidebar
2525
```
2626

27+
## Note
28+
if you are using NextJs then add 'use client' at top.
29+
2730
## Issues
2831

2932
For any Issues, create new issue on https://github.com/adminmart/react-mui-sidebar/issues
@@ -155,7 +158,7 @@ export default App;
155158

156159
| Props | Type | Default | Description |
157160
| :----------| :--------- | :--------- | --------------------------- |
158-
| `onLogout` | `function` | `void` | set the logo of the sidebar |
161+
| `onLogout` | `function` | `void` | set the Logout function on click |
159162

160163

161164
## Contributing

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-mui-sidebar",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "react mui sidebar",
55
"main": "dist/index.js",
66
"type": "module",

0 commit comments

Comments
 (0)