File tree Expand file tree Collapse file tree 3 files changed +51
-45
lines changed Expand file tree Collapse file tree 3 files changed +51
-45
lines changed Original file line number Diff line number Diff line change 5
5
import { AntdComponent } from './component' ;
6
6
7
7
export declare class Affix extends AntdComponent {
8
- /**
9
- * Pixels to offset from top when calculating position of scroll
10
- * @default 0
11
- * @type number
12
- */
13
- offsetTop : number ;
8
+ $props : {
9
+ /**
10
+ * Pixels to offset from top when calculating position of scroll
11
+ * @default 0
12
+ * @type number
13
+ */
14
+ offsetTop ?: number ;
14
15
15
- /**
16
- * Pixels to offset from bottom when calculating position of scroll
17
- * @type number
18
- */
19
- offsetBottom : number ;
16
+ /**
17
+ * Pixels to offset from bottom when calculating position of scroll
18
+ * @type number
19
+ */
20
+ offsetBottom ? : number ;
20
21
21
- /**
22
- * specifies the scrollable area dom node
23
- * @default () => window
24
- * @type Function
25
- */
26
- target : ( ) => HTMLElement ;
22
+ /**
23
+ * specifies the scrollable area dom node
24
+ * @default () => window
25
+ * @type Function
26
+ */
27
+ target ?: ( ) => HTMLElement ;
28
+ } ;
27
29
}
Original file line number Diff line number Diff line change 5
5
import { AntdComponent } from '../component' ;
6
6
7
7
export declare class CheckableTag extends AntdComponent {
8
- /**
9
- * Checked status of Tag
10
- * @default false
11
- * @type boolean
12
- */
13
- checked : boolean ;
8
+ $props : {
9
+ /**
10
+ * Checked status of Tag
11
+ * @default false
12
+ * @type boolean
13
+ */
14
+ checked ?: boolean ;
15
+ } ;
14
16
}
Original file line number Diff line number Diff line change @@ -8,29 +8,31 @@ import { CheckableTag } from './checkable-tag';
8
8
export declare class Tag extends AntdComponent {
9
9
static CheckableTag : typeof CheckableTag ;
10
10
11
- /**
12
- * Callback executed when close animation is completed
13
- * @type Function
14
- */
15
- afterClose : ( ) => void ;
11
+ $props : {
12
+ /**
13
+ * Callback executed when close animation is completed
14
+ * @type Function
15
+ */
16
+ afterClose ?: ( ) => void ;
16
17
17
- /**
18
- * Whether the Tag can be closed
19
- * @default false
20
- * @type boolean
21
- */
22
- closable : boolean ;
18
+ /**
19
+ * Whether the Tag can be closed
20
+ * @default false
21
+ * @type boolean
22
+ */
23
+ closable ? : boolean ;
23
24
24
- /**
25
- * Color of the Tag
26
- * @type string
27
- */
28
- color : string ;
25
+ /**
26
+ * Color of the Tag
27
+ * @type string
28
+ */
29
+ color ? : string ;
29
30
30
- /**
31
- * Whether the Tag is closed or not
32
- * @default true
33
- * @type boolean
34
- */
35
- visible : boolean ;
31
+ /**
32
+ * Whether the Tag is closed or not
33
+ * @default true
34
+ * @type boolean
35
+ */
36
+ visible ?: boolean ;
37
+ } ;
36
38
}
You can’t perform that action at this time.
0 commit comments