ContextMenu.d.ts 506 B

123456789101112
  1. import * as React from 'react';
  2. import { Direction } from './constants';
  3. import { ContextMessage } from './types';
  4. type ContextMenuProps = {
  5. contextMessage: ContextMessage;
  6. contextActions: React.ReactNode | React.ReactNode[];
  7. contextComponent: React.ReactNode | null;
  8. selectedCount: number;
  9. direction: Direction;
  10. };
  11. declare function ContextMenu({ contextMessage, contextActions, contextComponent, selectedCount, direction, }: ContextMenuProps): JSX.Element;
  12. export default ContextMenu;