@nethru/ui 1.0.60 → 1.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/Frame.js +5 -1
  2. package/package.json +1 -1
package/dist/Frame.js CHANGED
@@ -10,7 +10,9 @@ export default function Frame({
10
10
  children,
11
11
  footer,
12
12
  menu,
13
- menuIcons = {}
13
+ menuIcons = {},
14
+ mainRef,
15
+ onScroll
14
16
  }) {
15
17
  const containerStyles = {
16
18
  display: 'flex',
@@ -32,8 +34,10 @@ export default function Frame({
32
34
  icons: menuIcons,
33
35
  children: sideBar
34
36
  }), /*#__PURE__*/_jsxs(Box, {
37
+ ref: mainRef,
35
38
  component: "section",
36
39
  sx: contentStyles,
40
+ onScroll: onScroll,
37
41
  children: [/*#__PURE__*/_jsx("main", {
38
42
  children: children
39
43
  }), footer]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "/dist"