element-plus/packages/components/popover/index.ts

17 lines
405 B
TypeScript

import { withInstall, withInstallDirective } from '@element-plus/utils'
import Popover from './src/popover.vue'
import PopoverDirective, { VPopover } from './src/directive'
export const ElPopoverDirective = withInstallDirective(
PopoverDirective,
VPopover
)
export const ElPopover = withInstall(Popover, {
directive: ElPopoverDirective,
})
export default ElPopover
export * from './src/popover'