mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
* types: export components SemanticName type * update * update * update * update * update
21 lines
575 B
TypeScript
21 lines
575 B
TypeScript
import InternalDropdown from './dropdown';
|
|
import DropdownButton from './dropdown-button';
|
|
|
|
export type {
|
|
DropdownProps as DropDownProps,
|
|
DropdownProps,
|
|
DropdownSemanticClassNames,
|
|
DropdownSemanticName,
|
|
DropdownSemanticStyles,
|
|
} from './dropdown';
|
|
export type { DropdownButtonProps, DropdownButtonType } from './dropdown-button';
|
|
|
|
const Dropdown = InternalDropdown as typeof InternalDropdown & {
|
|
Button: typeof DropdownButton;
|
|
};
|
|
|
|
/** @deprecated Please use Space.Compact + Dropdown + Button instead */
|
|
Dropdown.Button = DropdownButton;
|
|
|
|
export default Dropdown;
|