mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
14 lines
457 B
TypeScript
14 lines
457 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
|
|
import Dropdown from './src/dropdown.vue'
|
|
import DropdownItem from './src/dropdown-item.vue'
|
|
import DropdownMenu from './src/dropdown-menu.vue'
|
|
|
|
export const ElDropdown = withInstall(Dropdown, {
|
|
DropdownItem,
|
|
DropdownMenu,
|
|
})
|
|
export default ElDropdown
|
|
export const ElDropdownItem = withNoopInstall(DropdownItem)
|
|
export const ElDropdownMenu = withNoopInstall(DropdownMenu)
|