UNPKG

517 BTypeScriptView Raw
1import { ElementUIComponent } from './component'
2
3/** Button type */
4export type LinkType = 'primary' | 'success' | 'warning' | 'danger' | 'info'
5
6/** Link Component */
7export declare class ElLink extends ElementUIComponent {
8 /** Link type */
9 type: LinkType
10
11 /** Disable the link */
12 disabled: boolean
13
14 /** Link underline */
15 underline: boolean
16
17 /** Link icon, accepts an icon name of Element icon component */
18 icon: string
19
20 /** Link href */
21 href: string
22
23 /** Link target */
24 target: string
25}