mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
22 lines
749 B
TypeScript
22 lines
749 B
TypeScript
import { withInstall } from '@element-plus/utils'
|
|
import Popper from './src/popper.vue'
|
|
|
|
import ElPopperArrow from './src/arrow.vue'
|
|
import ElPopperTrigger from './src/trigger.vue'
|
|
import ElPopperContent from './src/content.vue'
|
|
|
|
export { ElPopperArrow, ElPopperTrigger, ElPopperContent }
|
|
|
|
export const ElPopper = withInstall(Popper)
|
|
export default ElPopper
|
|
|
|
export * from './src/popper'
|
|
export * from './src/trigger'
|
|
export * from './src/content'
|
|
export * from './src/arrow'
|
|
|
|
export type { Placement, Options } from '@popperjs/core'
|
|
export type ElPopperArrowInstance = InstanceType<typeof ElPopperArrow>
|
|
export type ElPopperArrowTrigger = InstanceType<typeof ElPopperTrigger>
|
|
export type ElPopperArrowContent = InstanceType<typeof ElPopperContent>
|