element-plus/packages/infinite-scroll/index.ts

11 lines
346 B
TypeScript
Raw Normal View History

2020-09-07 16:48:11 +08:00
import InfiniteScroll from './src/index'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-09-07 16:48:11 +08:00
const _InfiniteScroll: SFCWithInstall<typeof InfiniteScroll> = InfiniteScroll as SFCWithInstall<typeof InfiniteScroll>
_InfiniteScroll.install = app => {
app.directive('InfiniteScroll', _InfiniteScroll)
2020-09-07 16:48:11 +08:00
}
2020-10-29 17:28:26 +08:00
export default _InfiniteScroll