27 lines
1.8 KiB
TypeScript
27 lines
1.8 KiB
TypeScript
|
|
import type { ExtractPropTypes, PropType, __ExtractPublicPropTypes } from 'vue';
|
||
|
|
import type Link from './link.vue';
|
||
|
|
export declare const linkProps: {
|
||
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, undefined, boolean>;
|
||
|
|
readonly underline: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor], boolean | "always" | "never" | "hover", unknown, undefined, boolean>;
|
||
|
|
readonly disabled: BooleanConstructor;
|
||
|
|
readonly href: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
||
|
|
readonly target: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "_self", boolean>;
|
||
|
|
readonly icon: {
|
||
|
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
||
|
|
readonly required: false;
|
||
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
||
|
|
__epPropKey: true;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
export type LinkProps = ExtractPropTypes<typeof linkProps>;
|
||
|
|
export type LinkPropsPublic = __ExtractPublicPropTypes<typeof linkProps>;
|
||
|
|
export declare const linkEmits: {
|
||
|
|
click: (evt: MouseEvent) => boolean;
|
||
|
|
};
|
||
|
|
export type LinkEmits = typeof linkEmits;
|
||
|
|
export type LinkInstance = InstanceType<typeof Link> & unknown;
|
||
|
|
export interface LinkConfigContext {
|
||
|
|
type?: string;
|
||
|
|
underline?: string | boolean;
|
||
|
|
}
|