OperationNode.d.ts 825 B

1234567891011121314151617181920212223
  1. import * as React from 'react';
  2. import type { EditableConfig, Tab, TabsLocale, MoreProps } from '../interface';
  3. export interface OperationNodeProps {
  4. prefixCls: string;
  5. className?: string;
  6. style?: React.CSSProperties;
  7. id: string;
  8. tabs: Tab[];
  9. rtl: boolean;
  10. tabBarGutter?: number;
  11. activeKey: string;
  12. mobile: boolean;
  13. more?: MoreProps;
  14. editable?: EditableConfig;
  15. locale?: TabsLocale;
  16. removeAriaLabel?: string;
  17. onTabClick: (key: string, e: React.MouseEvent | React.KeyboardEvent) => void;
  18. tabMoving?: boolean;
  19. getPopupContainer?: (node: HTMLElement) => HTMLElement;
  20. popupClassName?: string;
  21. }
  22. declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<OperationNodeProps & React.RefAttributes<HTMLDivElement>>>;
  23. export default _default;