element-plus/packages/form/index.ts

13 lines
339 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import Form from './src/form.vue'
import FormItem from './src/form-item.vue'
2020-10-03 20:13:56 +08:00
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)
}
2020-10-29 17:28:26 +08:00
export { Form, FormItem, LabelWrap }