element-plus/packages/components/cascader-panel/index.ts

16 lines
447 B
TypeScript
Raw Normal View History

2020-10-30 23:26:33 +08:00
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-10-30 23:26:33 +08:00
import CascaderPanel from './src/index.vue'
CascaderPanel.install = (app: App): void => {
2020-10-30 23:26:33 +08:00
app.component(CascaderPanel.name, CascaderPanel)
}
const _CascaderPanel = CascaderPanel as SFCWithInstall<typeof CascaderPanel>
export default _CascaderPanel
export const ElCascaderPanel = _CascaderPanel
export * from './src/types'
export * from './src/config'