mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 18:09:22 +08:00
38cf5e8a75
* docs: unify component export file as index.tsx * docs: compatible with old anchors * chore: clean * test: update snapshot * fix: window env --------- Co-authored-by: Peach <scdzwyxst@gmail.com>
13 lines
417 B
TypeScript
13 lines
417 B
TypeScript
import InternalDropdown from './dropdown';
|
|
import DropdownButton from './dropdown-button';
|
|
|
|
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;
|
|
|
|
export default Dropdown;
|