element-plus/packages/card/index.ts

12 lines
269 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import Card from './src/index.vue'
2020-10-29 17:28:26 +08:00
Card.install = (app: App): void => {
app.component(Card.name, Card)
}
2020-10-29 17:28:26 +08:00
const _Card: SFCWithInstall<typeof Card> = Card
export default _Card