2020-10-13 10:39:36 +08:00
|
|
|
import Scrollbar from './src/index.vue'
|
2020-10-29 17:28:26 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
import type { App } from 'vue'
|
|
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
|
2020-11-20 20:24:16 +08:00
|
|
|
Scrollbar.install = (app: App): void => {
|
2020-08-10 15:29:16 +08:00
|
|
|
app.component(Scrollbar.name, Scrollbar)
|
|
|
|
}
|
2020-10-13 10:39:36 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
const _Scrollbar = Scrollbar as SFCWithInstall<typeof Scrollbar>
|
2020-12-23 14:07:15 +08:00
|
|
|
|
|
|
|
export default _Scrollbar
|
2021-08-24 13:36:48 +08:00
|
|
|
export const ElScrollbar = _Scrollbar
|
|
|
|
|
|
|
|
export * from './src/util'
|