mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
docs(link): add note on disabled link
This commit is contained in:
parent
733498621f
commit
e3bc92a4c8
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ Note that `inline` must be `false` when rendering a link with an icon.
|
||||||
|
|
||||||
### Disabled
|
### Disabled
|
||||||
|
|
||||||
|
A `disabled` link will render a `p` tag instead of an anchor element.
|
||||||
|
|
||||||
<Link disabled href="https://www.carbondesignsystem.com/">
|
<Link disabled href="https://www.carbondesignsystem.com/">
|
||||||
Carbon Design System
|
Carbon Design System
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue