import { BaseBoxProps } from '../../shared/box'; import { BaseClickableProps } from '../../shared/clickable'; export interface ClickableProps extends BaseBoxProps, BaseClickableProps { /** * Disables the clickable, and indicates to assistive technology that the loading is in progress. * * This also disables the clickable. */ loading?: BaseClickableProps['loading']; /** * Disables the clickable, meaning it cannot be clicked or receive focus. * * In this state, onClick will not fire. * If the click event originates from a child element, the event will immediately stop propagating from this element. * * However, items within the clickable can still receive focus and be interacted with. * * This has no impact on the visual state by default, * but developers are encouraged to style the clickable accordingly. */ disabled?: BaseClickableProps['disabled']; /** * 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) * * @default '' */ lang?: string; }