chore(types): anchor type
parent
254a663d16
commit
74fe24b77f
|
@ -2,7 +2,7 @@
|
||||||
// Definitions by: akki-jat <https://github.com/akki-jat>
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||||
|
|
||||||
import { VNode } from 'vue';
|
import { VNodeChild } from 'vue';
|
||||||
|
|
||||||
export declare class AnchorLink {
|
export declare class AnchorLink {
|
||||||
$props: {
|
$props: {
|
||||||
|
@ -10,13 +10,13 @@ export declare class AnchorLink {
|
||||||
* target of hyperlink
|
* target of hyperlink
|
||||||
* @type string
|
* @type string
|
||||||
*/
|
*/
|
||||||
href: string;
|
href?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* content of hyperlink
|
* content of hyperlink
|
||||||
* @type any (string | slot)
|
* @type any (string | slot)
|
||||||
*/
|
*/
|
||||||
title?: string | VNode | VNode[];
|
title?: VNodeChild | JSX.Element;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies where to display the linked URL
|
* Specifies where to display the linked URL
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// Definitions by: akki-jat <https://github.com/akki-jat>
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||||
|
|
||||||
|
import { CSSProperties } from 'vue';
|
||||||
import { AnchorLink } from './anchor-link';
|
import { AnchorLink } from './anchor-link';
|
||||||
import { AntdComponent } from '../component';
|
import { AntdComponent } from '../component';
|
||||||
|
|
||||||
|
@ -60,7 +61,7 @@ export declare class Anchor extends AntdComponent {
|
||||||
* The style of the container
|
* The style of the container
|
||||||
* @type object
|
* @type object
|
||||||
*/
|
*/
|
||||||
wrapperStyle?: object;
|
wrapperStyle?: CSSProperties | string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Customize the anchor highlight
|
* Customize the anchor highlight
|
||||||
|
|
Loading…
Reference in New Issue