mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
17 lines
580 B
TypeScript
17 lines
580 B
TypeScript
import type { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
import Popper from './src/index.vue'
|
|
|
|
Popper.install = (app: App): void => {
|
|
app.component(Popper.name, Popper)
|
|
}
|
|
|
|
const _Popper: SFCWithInstall<typeof Popper> = Popper
|
|
|
|
export default _Popper
|
|
|
|
export { default as defaultProps, Effect, Placement, Options } from './src/use-popper/defaults'
|
|
export type { TriggerType, IPopperOptions, PopperInstance } from './src/use-popper/defaults'
|
|
export { default as usePopper } from './src/use-popper/index'
|
|
export * from './src/renderers/index'
|