2020-08-18 18:02:28 +08:00
|
|
|
import type { App } from 'vue'
|
2020-08-18 00:25:10 +08:00
|
|
|
import Popper from './src/index.vue'
|
2020-08-18 18:02:28 +08:00
|
|
|
|
2020-11-20 20:24:16 +08:00
|
|
|
Popper.install = (app: App): void => {
|
2020-08-18 18:02:28 +08:00
|
|
|
app.component(Popper.name, Popper)
|
|
|
|
}
|
2020-08-18 20:23:39 +08:00
|
|
|
|
2020-11-20 20:24:16 +08:00
|
|
|
export default Popper
|
|
|
|
|
2020-12-11 15:37:09 +08:00
|
|
|
export { default as defaultProps, Effect, Placement, Options } from './src/use-popper/defaults'
|
|
|
|
export type { TriggerType, IPopperOptions, PopperInstance } from './src/use-popper/defaults'
|
2020-11-04 16:30:42 +08:00
|
|
|
export { default as usePopper } from './src/use-popper/index'
|
|
|
|
export * from './src/renderers/index'
|