File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
// Definitions by: akki-jat <https://github.com/akki-jat>
3
3
// Definitions: https://github.com/vueComponent/ant-design-vue/types
4
4
5
- import { VNode } from 'vue' ;
5
+ import { VNodeChild } from 'vue' ;
6
6
7
7
export declare class AnchorLink {
8
8
$props : {
9
9
/**
10
10
* target of hyperlink
11
11
* @type string
12
12
*/
13
- href : string ;
13
+ href ? : string ;
14
14
15
15
/**
16
16
* content of hyperlink
17
17
* @type any (string | slot)
18
18
*/
19
- title ?: string | VNode | VNode [ ] ;
19
+ title ?: VNodeChild | JSX . Element ;
20
20
21
21
/**
22
22
* Specifies where to display the linked URL
Original file line number Diff line number Diff line change 2
2
// Definitions by: akki-jat <https://github.com/akki-jat>
3
3
// Definitions: https://github.com/vueComponent/ant-design-vue/types
4
4
5
+ import { CSSProperties } from 'vue' ;
5
6
import { AnchorLink } from './anchor-link' ;
6
7
import { AntdComponent } from '../component' ;
7
8
@@ -60,7 +61,7 @@ export declare class Anchor extends AntdComponent {
60
61
* The style of the container
61
62
* @type object
62
63
*/
63
- wrapperStyle ?: object ;
64
+ wrapperStyle ?: CSSProperties | string ;
64
65
65
66
/**
66
67
* Customize the anchor highlight
You can’t perform that action at this time.
0 commit comments