You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/form/index.jsx

21 lines
538 B

import Vue from 'vue'
7 years ago
import Form from './Form'
import ref from 'vue-ref'
import FormDecoratorDirective from '../_util/FormDecoratorDirective'
Vue.use(ref, { name: 'ant-ref' })
Vue.use(FormDecoratorDirective)
Vue.prototype.$form = Form
7 years ago
export { FormProps, FormCreateOption, ValidationRule } from './Form'
7 years ago
export { FormItemProps } from './FormItem'
/* istanbul ignore next */
Form.install = function (Vue) {
Vue.component(Form.name, Form)
Vue.component(Form.Item.name, Form.Item)
Vue.prototype.$form = Form
}
7 years ago
export default Form