UNPKG

@accelint/design-toolkit

Version:

An open-source component library to serve as part of the entire ecosystem of UX for Accelint.

27 lines (24 loc) 858 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { ProviderProps } from '../../lib/types.js'; import { LinkProps } from './types.js'; import 'react'; import 'react-aria-components'; declare function LinkProvider({ children, ...props }: ProviderProps<LinkProps>): react_jsx_runtime.JSX.Element; declare namespace LinkProvider { var displayName: string; } /** * Link - Accessible anchor/link component with optional visited state * * A flexible link component that handles visited state, external anchors, and * icon integration while providing ARIA-compatible behavior. * * @example * <Link href="/dashboard">Go to Dashboard</Link> */ declare function Link({ ref, ...props }: LinkProps): react_jsx_runtime.JSX.Element; declare namespace Link { var displayName: string; var Provider: typeof LinkProvider; } export { Link };