Link provides actionable elements in the style of hyperlinks.
Link will inherit font size by default.
disabled
Disables the element, preventing mouse and keyboard events
boolean
href
HTML element href
string
variant
Display variant
"text"
wrapWhenDisabled
Indicates whether buttons in a disabled state should be wrapped with a span
boolean
You can use module augmentation to customize the TypeScript types for any of Link's props:
declare module 'componentry/types/components/Link/Link' {
interface LinkPropsOverrides {
// ... overwrite any types for Link props ...
}
}
See the TypeScript guide for more information.
.C9Y-Link-DisabledWrapper
.C9Y-Link-base
.C9Y-Link-text