mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
16 lines
383 B
TypeScript
16 lines
383 B
TypeScript
import Scrollbar from './src/index.vue'
|
|
|
|
import type { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
Scrollbar.install = (app: App): void => {
|
|
app.component(Scrollbar.name, Scrollbar)
|
|
}
|
|
|
|
const _Scrollbar = Scrollbar as SFCWithInstall<typeof Scrollbar>
|
|
|
|
export default _Scrollbar
|
|
export const ElScrollbar = _Scrollbar
|
|
|
|
export * from './src/util'
|