File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
import { AntdComponent } from '../component' ;
6
6
import { Col } from '../grid/col' ;
7
7
8
- export declare class NFormItem extends AntdComponent {
8
+ export declare class FormModelItem extends AntdComponent {
9
9
/**
10
10
* Used with label, whether to display : after label text.
11
11
* @default true
@@ -64,6 +64,6 @@ export declare class NFormItem extends AntdComponent {
64
64
wrapperCol : Col ;
65
65
labelAlign : 'left' | 'right' ;
66
66
prop : string ;
67
- rules : object | array ;
67
+ rules : object | object [ ] ;
68
68
autoLink : boolean ;
69
69
}
Original file line number Diff line number Diff line change 5
5
import { AntdComponent } from '../component' ;
6
6
import { Col } from '../grid/col' ;
7
7
import Vue from 'vue' ;
8
- import { NFormItem } from './form-item' ;
8
+ import { FormModelItem } from './form-item' ;
9
9
10
10
declare interface ValidationRule {
11
11
trigger ?: string ;
@@ -79,8 +79,8 @@ declare interface ValidationRule {
79
79
validator ?: ( rule : any , value : any , callback : Function ) => any ;
80
80
}
81
81
82
- export declare class NForm extends AntdComponent {
83
- static Item : typeof NFormItem ;
82
+ export declare class FormModel extends AntdComponent {
83
+ static Item : typeof FormModelItem ;
84
84
85
85
/**
86
86
* Hide required mark of all form items
You can’t perform that action at this time.
0 commit comments