TableHeader.d.ts 626 B

123456789101112131415
  1. import * as React from 'react';
  2. import { Direction } from './constants';
  3. import { ContextMessage } from './types';
  4. type HeaderProps = {
  5. title?: string | React.ReactNode;
  6. actions?: React.ReactNode | React.ReactNode[];
  7. direction: Direction;
  8. selectedCount: number;
  9. showMenu?: boolean;
  10. contextMessage: ContextMessage;
  11. contextActions: React.ReactNode | React.ReactNode[];
  12. contextComponent: React.ReactNode | null;
  13. };
  14. declare const Header: ({ title, actions, contextMessage, contextActions, contextComponent, selectedCount, direction, showMenu, }: HeaderProps) => JSX.Element;
  15. export default Header;