element-plus/packages/form/index.ts

15 lines
298 B
TypeScript
Raw Normal View History

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)
}
2020-10-29 17:28:26 +08:00
const _Form: SFCWithInstall<typeof Form> = Form
export default _Form
export * from './src/token'