mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 21:18:14 +08:00
23 lines
588 B
TypeScript
23 lines
588 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Dropdown from './dropdown';
|
|
import DropdownButton from './dropdown-button';
|
|
|
|
export type { DropdownProps } from './dropdown';
|
|
export type { DropdownButtonProps } from './dropdown-button';
|
|
|
|
Dropdown.Button = DropdownButton;
|
|
|
|
/* istanbul ignore next */
|
|
Dropdown.install = function (app: App) {
|
|
app.component(Dropdown.name, Dropdown);
|
|
app.component(DropdownButton.name, DropdownButton);
|
|
return app;
|
|
};
|
|
|
|
export { DropdownButton };
|
|
|
|
export default Dropdown as typeof Dropdown &
|
|
Plugin & {
|
|
readonly Button: typeof DropdownButton;
|
|
};
|