mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
a6620cbbe5
* feat: add Vue.use feat * feat: Vue.use method * docs: update docs
16 lines
400 B
JavaScript
16 lines
400 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
|