element-plus/packages/components/scrollbar/index.ts
msidolphin 0d8f08ab9b
perf(components): [el-scrollbar] prevent re-render when scrolling (#5670)
* perf(components): [el-scrollbar] prevent re-render when scrolling

* chore: improve code
2022-01-27 17:10:44 +08:00

11 lines
274 B
TypeScript

import { withInstall } from '@element-plus/utils/with-install'
import Scrollbar from './src/scrollbar.vue'
export const ElScrollbar = withInstall(Scrollbar)
export default ElScrollbar
export * from './src/util'
export * from './src/scrollbar'
export * from './src/thumb'