mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
18 lines
421 B
Vue
18 lines
421 B
Vue
import { App, Plugin } from 'vue';
|
|
import Form from './Form';
|
|
|
|
export { FormProps, formProps } from './Form';
|
|
export { FormItemProps, formItemProps } from './FormItem';
|
|
|
|
/* istanbul ignore next */
|
|
Form.install = function(app: App) {
|
|
app.component(Form.name, Form);
|
|
app.component(Form.Item.name, Form.Item);
|
|
return app;
|
|
};
|
|
|
|
export default Form as typeof Form &
|
|
Plugin & {
|
|
readonly Item: typeof Form.Item;
|
|
};
|