mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
18 lines
544 B
TypeScript
18 lines
544 B
TypeScript
import InternalDropdown from './dropdown';
|
|
import DropdownButton from './dropdown-button';
|
|
|
|
export type {
|
|
// typo, but we need to support it for backwards compatibility
|
|
// https://github.com/ant-design/ant-design/pull/35161
|
|
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;
|
|
|
|
export default Dropdown;
|