import type { AnchorHTMLAttributes } from 'react'; import type { Token } from '../colors'; import type { WithTestId } from '../types'; export type LinkColor = Extract; export interface LinkProps extends AnchorHTMLAttributes, WithTestId { /** Цвет (название токена). */ color?: LinkColor; /** Выводить как псевдо-ссылку. */ pseudo?: boolean; /** Отключает ссылку подобно кнопке. */ disabled?: boolean; /** Нужно ли подчеркивание. */ underline?: boolean; }