element-plus/packages/form/index.ts

15 lines
298 B
TypeScript

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