UNPKG

@yandex/ui

Version:

Yandex UI components

25 lines (24 loc) 952 B
import React, { KeyboardEventHandler } from 'react'; import { ContainerElement } from '../Link'; export interface ILinkPseudoProps { /** * Псевдоссылка */ pseudo?: boolean; /** * Обработчик события `onKeyDown` */ onKeyDown?: KeyboardEventHandler<ContainerElement>; } /** * Модификатор, делающий из ссылки псевдоссылку. * @param {ILinkPseudoProps} props */ export declare const withPseudo: { <K extends import("@bem-react/core").IClassNameProps = {}>(WrappedComponent: React.ComponentType<ILinkPseudoProps & K>): (props: ILinkPseudoProps & K) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>; __isSimple: boolean; __blockName: string; __mod: string; __value: string | number | boolean | undefined; __passToProps: boolean; };