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

15 lines
451 B
TypeScript
Raw Normal View History

2020-10-30 23:26:33 +08:00
import CascaderPanel from './src/index.vue'
import type { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-10-30 23:26:33 +08:00
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'