element-plus/packages/popper/index.ts
hangzou b45f084a72
fix(build): fix import module path (#543)
* fix(build): fix import module path

* fix: fix export constants & type

* fix(popover): fix exports and import
2020-11-04 16:30:42 +08:00

13 lines
411 B
TypeScript

import type { App } from 'vue'
import Popper from './src/index.vue'
export default (app: App) => {
app.component(Popper.name, Popper)
}
export { 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'