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.esm.js
CHANGED
@@ -3012,9 +3012,10 @@ const MRT_ColumnActionMenu = (_a) => {
|
|
3012
3012
|
]
|
3013
3013
|
: []),
|
3014
3014
|
// **Newly Added Menu Item for Toolbar Visibility**
|
3015
|
-
jsx(MRT_ActionMenuItem, { icon: jsx(SettingsOutlinedIcon, {}), label: showToolBar ? "Hide
|
3015
|
+
jsx(MRT_ActionMenuItem, { icon: jsx(SettingsOutlinedIcon, {}), label: showToolBar ? "Hide Toolbar" : "Show Toolbar", onClick: (e) => {
|
3016
3016
|
e.stopPropagation();
|
3017
3017
|
table.setShowToolBar(!showToolBar);
|
3018
|
+
setAnchorEl(null);
|
3018
3019
|
}, table: table }, 13),
|
3019
3020
|
].filter(Boolean);
|
3020
3021
|
return (jsx(Menu, Object.assign({ MenuListProps: {
|