element-plus/packages/components/scrollbar/index.ts

15 lines
375 B
TypeScript
Raw Normal View History

import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
2020-10-29 17:28:26 +08:00
import Scrollbar from './src/scrollbar.vue'
import Bar from './src/bar.vue'
export const ElScrollbar = withInstall(Scrollbar, {
Bar,
})
export default ElScrollbar
export const ElBar = withNoopInstall(Bar)
export * from './src/util'
export * from './src/scrollbar'
export * from './src/bar'