mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 20:38:45 +08:00
f0c105d262
* feat: remove the hardcode of `use client` * chore: update `@ant-design/tools` * test: update * fix: incorrect dictionary * chore: update dep * ci: check use client * chore: update ci * fix: should be LIB_DIR * ci: should only run in dist * chore: update check tsx files
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;
|