index.ts 504 B

123456789101112131415
  1. import { withInstall, withNoopInstall } from '@element-plus/utils'
  2. import Dropdown from './src/dropdown.vue'
  3. import DropdownItem from './src/dropdown-item.vue'
  4. import DropdownMenu from './src/dropdown-menu.vue'
  5. export const ElDropdown = withInstall(Dropdown, {
  6. DropdownItem,
  7. DropdownMenu,
  8. })
  9. export default ElDropdown
  10. export const ElDropdownItem = withNoopInstall(DropdownItem)
  11. export const ElDropdownMenu = withNoopInstall(DropdownMenu)
  12. export * from './src/dropdown'
  13. export * from './src/tokens'