element/types/link.d.ts
2019-04-19 19:15:28 +08:00

26 lines
517 B
TypeScript

import { ElementUIComponent } from './component'
/** Button type */
export type LinkType = 'primary' | 'success' | 'warning' | 'danger' | 'info'
/** Link Component */
export declare class ElLink extends ElementUIComponent {
/** Link type */
type: LinkType
/** Disable the link */
disabled: boolean
/** Link underline */
underline: boolean
/** Link icon, accepts an icon name of Element icon component */
icon: string
/** Link href */
href: string
/** Link target */
target: string
}