ant-design-vue/components/dropdown/index.js

16 lines
408 B
JavaScript

import Dropdown from './dropdown';
import DropdownButton from './dropdown-button';
export { DropdownProps } from './dropdown';
export { DropdownButtonProps } from './dropdown-button';
Dropdown.Button = DropdownButton;
/* istanbul ignore next */
Dropdown.install = function(Vue) {
Vue.component(Dropdown.name, Dropdown);
Vue.component(DropdownButton.name, DropdownButton);
};
export default Dropdown;