index.d.ts 454 Bytes
Newer Older
1
import React from 'react';
2 3
import { DropDownProps } from 'antd/lib/dropdown';

4 5 6
declare type OverlayFunc = () => React.ReactNode;

export interface HeaderDropdownProps extends DropDownProps {
7
  overlayClassName?: string;
8 9
  overlay: React.ReactNode | OverlayFunc;
  placement?: 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topCenter' | 'topRight' | 'bottomCenter';
10 11
}

12
export default class HeaderDropdown extends React.Component<HeaderDropdownProps, any> {}