element-plus/packages/tag/index.ts

12 lines
261 B
TypeScript

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import Tag from './src/index.vue'
Tag.install = (app: App): void => {
app.component(Tag.name, Tag)
}
const _Tag: SFCWithInstall<typeof Tag> = Tag
export default _Tag