material-react-table-narender 2.13.32 → 2.13.33
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js
CHANGED
@@ -3104,9 +3104,10 @@ const MRT_ColumnActionMenu = (_a) => {
|
|
3104
3104
|
]
|
3105
3105
|
: []),
|
3106
3106
|
// **Newly Added Menu Item for Toolbar Visibility**
|
3107
|
-
jsxRuntime.jsx(MRT_ActionMenuItem, { icon: jsxRuntime.jsx(SettingsOutlinedIcon, {}), label: showToolBar ? "Hide
|
3107
|
+
jsxRuntime.jsx(MRT_ActionMenuItem, { icon: jsxRuntime.jsx(SettingsOutlinedIcon, {}), label: showToolBar ? "Hide Toolbar" : "Show Toolbar", onClick: (e) => {
|
3108
3108
|
e.stopPropagation();
|
3109
3109
|
table.setShowToolBar(!showToolBar);
|
3110
|
+
setAnchorEl(null);
|
3110
3111
|
}, table: table }, 13),
|
3111
3112
|
].filter(Boolean);
|
3112
3113
|
return (jsxRuntime.jsx(Menu__default["default"], Object.assign({ MenuListProps: {
|