import * as React from 'react'; import { IconButtonProps } from '@mui/material/IconButton'; import { MenuItemProps } from '@mui/material/MenuItem'; interface GridActionsCellItemCommonProps { label: string; icon?: React.ReactElement; /** from https://mui.com/material-ui/api/button-base/#ButtonBase-prop-component */ component?: React.ElementType; } export type GridActionsCellItemProps = GridActionsCellItemCommonProps & (({ showInMenu?: false; icon: React.ReactElement; } & Omit) | ({ showInMenu: true; /** * If false, the menu will not close when this item is clicked. * @default true */ closeMenuOnClick?: boolean; closeMenu?: () => void; } & Omit)); declare const GridActionsCellItem: React.ForwardRefExoticComponent<(Omit, "ref"> | Omit void) | undefined; } & Omit, "ref">) & React.RefAttributes>; export { GridActionsCellItem };