link.d.ts 517 B

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