import React from 'react'; import { IHasRawProps, IClickable, IDisableable, IAnalyticableClick, IHasTabIndex, IHasCX, ICanRedirect } from '@epam/uui-core'; type ClickableType = { /** * Can pass the desired type of Clickable component */ type?: 'button' | 'anchor'; }; type ClickableForwardedRef = HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement; export type ClickableRawProps = React.AnchorHTMLAttributes | React.ButtonHTMLAttributes | React.HTMLAttributes; export type ClickableComponentProps = IClickable & IAnalyticableClick & IHasTabIndex & IDisableable & IHasCX & ICanRedirect & IHasRawProps & { /** Called when keyDown event is fired on component */ onKeyDown?: (e: React.KeyboardEvent) => void; }; export declare const Clickable: React.ForwardRefExoticComponent & { /** Called when keyDown event is fired on component */ onKeyDown?: (e: React.KeyboardEvent) => void; } & ClickableType & { children?: React.ReactNode; } & React.RefAttributes>; export {}; //# sourceMappingURL=Clickable.d.ts.map