element-plus/docs/en-US/component/link.md
jeremywu db976bba68
chore(docs): adding lang field for markdowns (#4005)
- Add lang field for all *.md files' frontmatters
2021-10-22 19:32:39 +08:00

1.3 KiB

lang
en-US

Link

Text hyperlink

Basic

Basic text link

:::demo

link/basic

:::

Disabled

Disabled state of link

:::demo

link/disabled

:::

Underline

Underline of link

:::demo

link/underline

:::

Icon

Link with icon

:::demo

link/with-icon

:::

Attributes

Attribute Description Type Accepted Values Default
type type string primary / success / warning / danger / info default
underline whether the component has underline boolean true
disabled whether the component is disabled boolean false
href same as native hyperlink's href string -
icon class name of icon string -

Slots

Name Description
customize default content