ant-design/components/dropdown/index.tsx

13 lines
417 B
TypeScript
Raw Normal View History

import InternalDropdown from './dropdown';
import DropdownButton from './dropdown-button';
2015-06-09 14:46:51 +08:00
export type { DropdownProps as DropDownProps, DropdownProps } from './dropdown';
export type { DropdownButtonProps, DropdownButtonType } from './dropdown-button';
const Dropdown = InternalDropdown as typeof InternalDropdown & {
Button: typeof DropdownButton;
};
Dropdown.Button = DropdownButton;
2015-12-02 15:18:15 +08:00
export default Dropdown;