element-plus/packages/form/index.ts
2020-10-29 19:37:18 +08:00

13 lines
339 B
TypeScript

import { App } from 'vue'
import Form from './src/form.vue'
import FormItem from './src/form-item.vue'
import LabelWrap from './src/label-wrap'
export default (app: App): void => {
app.component(Form.name, Form)
app.component(FormItem.name, FormItem)
app.component(LabelWrap.name, LabelWrap)
}
export { Form, FormItem, LabelWrap }