Link
Last updated
Last updated
A textual interactive element that can be used as an anchor (<a>
) or as a button.
Gets called when the user activates the link. Like for Button
, it gets called when the enter key is pressed on the keyboard.
When set, the component will act like a normal HTML anchor.
Set to true
to make the link external, which will add an underline. If a href
is present, it will also add a target="_blank"
attribute and make it safe by default.
Any other prop will be passed to the ButtonBase
component.
TYPE | DEFAULT VALUE |
---|---|
TYPE | DEFAULT VALUE |
---|---|
TYPE | DEFAULT VALUE |
---|---|
Function
None
String
None
Boolean
false