@nethru/ui 2.1.55 → 2.1.56

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.
@@ -40,21 +40,28 @@ const DataGrid = /*#__PURE__*/forwardRef(({
40
40
  footer: Footer,
41
41
  ...slots
42
42
  },
43
+ slotProps: {
44
+ toolbar: {
45
+ toolbarLeadingSlot
46
+ }
47
+ },
43
48
  ...props
44
49
  });
45
- function Toolbar() {
46
- return /*#__PURE__*/_jsxs(Stack, {
47
- direction: "row",
48
- justifyContent: "space-between",
49
- mb: 1.5,
50
- children: [/*#__PURE__*/_jsx(Box, {
51
- children: toolbarLeadingSlot
52
- }), /*#__PURE__*/_jsx(Box, {
53
- children: /*#__PURE__*/_jsx(GridToolbarQuickFilter, {
54
- variant: "outlined"
55
- })
56
- })]
57
- });
58
- }
59
50
  });
51
+ function Toolbar({
52
+ toolbarLeadingSlot
53
+ }) {
54
+ return /*#__PURE__*/_jsxs(Stack, {
55
+ direction: "row",
56
+ justifyContent: "space-between",
57
+ mb: 1.5,
58
+ children: [/*#__PURE__*/_jsx(Box, {
59
+ children: toolbarLeadingSlot
60
+ }), /*#__PURE__*/_jsx(Box, {
61
+ children: /*#__PURE__*/_jsx(GridToolbarQuickFilter, {
62
+ variant: "outlined"
63
+ })
64
+ })]
65
+ });
66
+ }
60
67
  export default DataGrid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "2.1.55",
3
+ "version": "2.1.56",
4
4
  "main": "base/index.js",
5
5
  "files": [
6
6
  "/base"