import { ComponentProps, ComponentType, CSSProperties, PropsWithChildren } from 'react'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import { AlphaColor, PropsWithClassName } from '../../lib/types/props'; import * as Aria from "react-aria-components"; export interface LinkProps extends PropsWithChildren>, FlowComponentProps, PropsWithClassName { /** Whether the link should be styled for being displayed inside a text. */ inline?: boolean; /** An alternative link component. */ linkComponent?: ComponentType, "ref">>; /** The color of the link. @default "default" */ color?: "default" | AlphaColor; /** Marks the link as the currently active one, e.g. in a navigation. */ "aria-current"?: string; /** * The name of the slot the link is placed in. In action groups: `primary` (at * the end), `secondary` (before the primary action) or `abort` (at the * start). */ slot?: string; /** The whiteSpace css value of the element. */ whiteSpace?: CSSProperties["whiteSpace"]; /** The size of the element. @default "m" */ size?: "s" | "m"; } /** @flr-generate all */ export declare const Link: import('react').FunctionComponent>; export default Link;