@data-c/ui 0.0.124-alpha.0 → 0.0.126-alpha.0
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.
- package/dist/index.d.ts +3 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ButtonProps as ButtonProps$1, StackProps, CheckboxProps as CheckboxProps$1, TextFieldProps, DialogProps as DialogProps$1, IconButtonProps, TypographyProps, FilterOptionsState, TooltipProps as TooltipProps$2 } from '@mui/material';
|
|
2
|
+
import { ButtonProps as ButtonProps$1, StackProps, CheckboxProps as CheckboxProps$1, TextFieldProps, DialogProps as DialogProps$1, IconButtonProps, TypographyProps, FilterOptionsState, TooltipProps as TooltipProps$2, DrawerProps } from '@mui/material';
|
|
3
3
|
import React$1, { ReactNode, ComponentType } from 'react';
|
|
4
4
|
import { MUIDataTableProps } from 'mui-datatables';
|
|
5
5
|
import { PaginationProps, TransportableDataTableProps, CredentialsConfigsInterface, AmbienteDataInterface } from '@data-c/hooks';
|
|
@@ -227,7 +227,7 @@ interface MenuItemProps {
|
|
|
227
227
|
icon?: ReactNode;
|
|
228
228
|
visible: boolean;
|
|
229
229
|
}
|
|
230
|
-
interface DrawerMenuProps {
|
|
230
|
+
interface DrawerMenuProps extends DrawerProps {
|
|
231
231
|
width: number;
|
|
232
232
|
items: Array<MenuItemProps>;
|
|
233
233
|
logo: string;
|
|
@@ -238,6 +238,7 @@ interface DrawerMenuProps {
|
|
|
238
238
|
link?: string;
|
|
239
239
|
activeMenu?: string;
|
|
240
240
|
onMenuClick: (link: string) => void;
|
|
241
|
+
toggleMenu: (open?: boolean) => void;
|
|
241
242
|
}
|
|
242
243
|
declare function DrawerMenu(props: DrawerMenuProps): react_jsx_runtime.JSX.Element;
|
|
243
244
|
|