Skip to content

Commit 4fb65de

Browse files
committed
Compatibility changes
1 parent d40bd26 commit 4fb65de

File tree

3 files changed

+59
-33
lines changed

3 files changed

+59
-33
lines changed

package-lock.json

Lines changed: 52 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jasonrundell/react-mega-menu",
3-
"version": "2.0.9",
3+
"version": "2.0.10",
44
"author": "jasonrundell <[email protected]>",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.es.js",
@@ -13,10 +13,6 @@
1313
"format": "prettier --write src/**/*.{js,jsx}"
1414
},
1515
"dependencies": {
16-
"@emotion/react": "^11.11.1",
17-
"@emotion/styled": "^11.11.0",
18-
"react": "^18.0.0",
19-
"react-dom": "^18.0.0",
2016
"uuid": "^9.0.1"
2117
},
2218
"devDependencies": {
@@ -36,8 +32,7 @@
3632
"@emotion/react": "^11.11.1",
3733
"@emotion/styled": "^11.11.0",
3834
"react": "^18.0.0",
39-
"react-dom": "^18.0.0",
40-
"uuid": "^9.0.1"
35+
"react-dom": "^18.0.0"
4136
},
4237
"repository": {
4338
"type": "git",
@@ -50,7 +45,7 @@
5045
}
5146
},
5247
"license": "MIT",
53-
"description": "A React project which aims to be an accessible, responsive, boilerplate top\r navigation menu with a \"Mega Menu\"!",
48+
"description": "A React project which aims to be an accessible, responsive, boilerplate top navigation menu with a \"Mega Menu\"!",
5449
"bugs": {
5550
"url": "https://github.com/jasonrundell/react-mega-menu/issues"
5651
},

src/index.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
// src/index.jsx
2-
export { Menu } from './Menu'
1+
import { Menu } from './Menu'
2+
3+
export { Menu }
4+
export default Menu

0 commit comments

Comments
 (0)