naive-ui/packages/common/Dropdown/index.js

15 lines
481 B
JavaScript
Raw Normal View History

2019-08-16 16:48:36 +08:00
/* istanbul ignore file */
2019-12-16 13:47:39 +08:00
import Dropdown from './src/Dropdown.vue'
2019-08-16 16:48:36 +08:00
import DropdownSubmenu from './src/DropdownSubmenu'
import DropdownItem from './src/DropdownItem'
import DropdownDivider from './src/DropdownDivider'
Dropdown.install = function (Vue) {
Vue.component(Dropdown.name, Dropdown)
2019-12-01 22:55:39 +08:00
Vue.component('NDropdownItem', DropdownItem)
2019-08-16 16:48:36 +08:00
Vue.component(DropdownDivider.name, DropdownDivider)
Vue.component(DropdownSubmenu.name, DropdownSubmenu)
}
export default Dropdown