mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
13 lines
318 B
TypeScript
13 lines
318 B
TypeScript
import { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
import PageHeader from './src/index.vue'
|
|
|
|
PageHeader.install = (app: App): void => {
|
|
app.component(PageHeader.name, PageHeader)
|
|
}
|
|
|
|
const _PageHeader: SFCWithInstall<typeof PageHeader> = PageHeader
|
|
|
|
export default _PageHeader
|
|
|