import { GlobalProps } from '../../shared/global'; import { ComponentChildren } from '../../shared/children'; import { LinkBehaviorProps } from '../../shared/clickable'; import { ToneKeyword } from '../../shared/theming'; export interface LinkProps extends GlobalProps, LinkBehaviorProps { /** * The content of the Link. */ children?: ComponentChildren; /** * Sets the tone of the Link, based on the intention of the information being conveyed. * * @default 'auto' */ tone?: ToneKeyword; /** * A label that describes the purpose or contents of the Link. It will be read to users using assistive technologies such as screen readers. * * Use this when using only an icon or the content of the link is not enough context * for users using assistive technologies. */ accessibilityLabel?: string; /** * Indicate the text language. Useful when the text is in a different language than the rest of the page. * It will allow assistive technologies such as screen readers to invoke the correct pronunciation. * [Reference of values](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) ("subtag" label) */ lang?: string; }