import React, { FunctionComponent } from 'react'; import { To } from 'react-router-dom'; import { DisplayIconProps } from '../../utils/comps/DisplayIcon'; import { icons } from '../../icons'; export interface OKELinkProps { to?: To; link?: string; onClick?: (e: React.MouseEvent) => void; icon?: keyof typeof icons; iconWeight?: DisplayIconProps['weight']; iconAfter?: keyof typeof icons; text?: string; children?: React.ReactNode; invertUnderline?: boolean; color?: string; invert?: boolean; disabled?: boolean; className?: string; style?: React.CSSProperties; avatar?: any; } /** * @component Renders a link component with customizable text, styling, and behavior. * * - The component props object containing the following properties: * @prop {string} [to]: The URL to link to. * @prop {string} [link]: An external URL to link to. * @prop {(e: React.MouseEvent) => void} [onClick]: A callback function to execute when the link is clicked. * @prop {keyof typeof icons} [icon]: An icon to display before the text. * @prop {DisplayIconProps['weight']} [iconWeight]: The weight of the icon font. Defaults to "regular". * @prop {keyof typeof icons} [iconAfter]: An icon to display after the text. * @prop {string} [text]: The text to display in the link. * @prop {React.ReactNode} [children]: The content to be rendered inside the link. * @prop {boolean} [invertUnderline]: A boolean indicating whether to invert the underline style of the link. Defaults to false. * @prop {string} [color]: A string indicating the color of the link. Defaults to the primary color of the theme. * @prop {boolean} [invert]: A boolean indicating whether to invert the colors of the link. Defaults to false. * @prop {boolean} [disabled]: A boolean indicating whether the link is disabled. Defaults to false. * @prop {string} [className]: A string indicating the CSS class name to apply to the link. * @prop {React.CSSProperties} [style]: Additional CSS styles to apply to the link. * @prop {ProfileImageInputProps['value']} [avatar]: An avatar to display in the link. * @return {ReactElement} The rendered link component. */ export declare const OKELink: FunctionComponent;