mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
e9ea4b4ee2
* Revert "fix(project): fix beta 49 build issue (#2310)" This reverts commit7d39b37f00
. * Revert "feat(hooks): feat: Encapsulate function for rendering teleport element" This reverts commit74ec002d23
. * Revert "refactor(popper): refactor extract common props for props (#2300)" This reverts commit45982cff8a
. Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
18 lines
617 B
TypeScript
18 lines
617 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 } from './src/use-popper/defaults'
|
|
export type { Placement, Options } from '@popperjs/core'
|
|
export type { TriggerType, IPopperOptions, PopperInstance } from './src/use-popper/defaults'
|
|
export { default as usePopper } from './src/use-popper/index'
|
|
export * from './src/renderers/index'
|