mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
26 lines
514 B
TypeScript
26 lines
514 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
|
|
}
|