element-plus/packages/pagination/index.ts

11 lines
314 B
TypeScript
Raw Normal View History

import Pagination from './src/index'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-10-29 17:28:26 +08:00
const _Pagination: SFCWithInstall<typeof Pagination> = Pagination as SFCWithInstall<typeof Pagination>
2020-10-29 17:28:26 +08:00
_Pagination.install = app => {
app.component(_Pagination.name, _Pagination)
}
2020-10-29 17:28:26 +08:00
export default _Pagination