element-plus/packages/components/popper/index.ts

16 lines
534 B
TypeScript
Raw Normal View History

import { withInstall } from '@element-plus/utils/with-install'
import Popper from './src/popper.vue'
export { default as ElPopperArrow } from './src/arrow.vue'
export { default as ElPopperTrigger } from './src/trigger.vue'
export { default as ElPopperContent } from './src/content.vue'
2020-08-18 18:02:28 +08:00
export const ElPopper = withInstall(Popper)
export default ElPopper
export * from './src/popper'
export * from './src/tokens'
export { useDeprecateAppendToBody } from './src/deprecation'
export type { Placement, Options } from '@popperjs/core'