@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
15 lines (14 loc) • 889 B
TypeScript
/// <reference types="react" />
import type { Theme } from "../defaultTheme";
import type { Type, Props } from "./types";
export declare const getLinkStyle: ({ theme }: {
theme: Theme;
$type: Props["type"];
}) => import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
$type: Type;
theme: Theme;
$noUnderline: boolean;
}, import("styled-components").DefaultTheme>>;
export declare const StyledTextLink: import("styled-components").StyledComponent<({ asComponent: Component, theme, ...props }: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
declare const TextLink: ({ ariaCurrent, type, size, children, href, external, rel, iconLeft, iconRight, onClick, dataTest, download, id, tabIndex, asComponent, stopPropagation, title, standAlone, noUnderline, }: Props) => JSX.Element;
export default TextLink;