element-plus/packages/popper/index.ts
zazzaz b19d2fc374
fix: correct bundle export (#630)
* fix: correct bundle export

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update
2020-11-20 20:24:16 +08:00

14 lines
424 B
TypeScript

import type { App } from 'vue'
import Popper from './src/index.vue'
Popper.install = (app: App): void => {
app.component(Popper.name, Popper)
}
export default Popper
export { default as defaultProps, Effect } from './src/use-popper/defaults'
export type { TriggerType, IPopperOptions } from './src/use-popper/defaults'
export { default as usePopper } from './src/use-popper/index'
export * from './src/renderers/index'