element-plus/packages/scrollbar/index.ts

12 lines
309 B
TypeScript
Raw Normal View History

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