refactor: reorganize all components (#8303)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { PropType } from 'vue';
|
||||
import { PropType, defineComponent } from 'vue';
|
||||
|
||||
// Utils
|
||||
import { createNamespace, ComponentInstance } from '../utils';
|
||||
@@ -15,9 +15,11 @@ import type {
|
||||
FieldValidateTrigger,
|
||||
} from '../field/types';
|
||||
|
||||
const [createComponent, bem] = createNamespace('form');
|
||||
const [name, bem] = createNamespace('form');
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
|
||||
export default createComponent({
|
||||
props: {
|
||||
colon: Boolean,
|
||||
disabled: Boolean,
|
||||
@@ -0,0 +1,7 @@
|
||||
import { installable } from '../utils';
|
||||
import _Form from './Form';
|
||||
|
||||
const Form = installable(_Form);
|
||||
|
||||
export default Form;
|
||||
export { Form };
|
||||
Reference in New Issue
Block a user