Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
18 lines
735 B
TypeScript
18 lines
735 B
TypeScript
import * as React from 'react';
|
|
import { GrowProps } from '@mui/material/Grow';
|
|
import { PopperProps } from '@mui/material/Popper';
|
|
type MenuPosition = 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top' | undefined;
|
|
export interface GridMenuProps extends Omit<PopperProps, 'onKeyDown' | 'children'> {
|
|
open: boolean;
|
|
target: HTMLElement | null;
|
|
onClose: (event?: Event) => void;
|
|
position?: MenuPosition;
|
|
onExited?: GrowProps['onExited'];
|
|
children: React.ReactNode;
|
|
}
|
|
declare function GridMenu(props: GridMenuProps): React.JSX.Element;
|
|
declare namespace GridMenu {
|
|
var propTypes: any;
|
|
}
|
|
export { GridMenu };
|