UNPKG

@theme-ui/components

Version:

Primitive layout, typographic, and other components for use with Theme UI.

12 lines (11 loc) 444 B
import { LinkProps } from "./Link.js"; import type { ForwardRef } from "./types.js"; export type NavLinkProps = LinkProps; /** * Link component for use in navigation * * NavLink variants can be defined in the `theme.links` object. * By default the NavLink component will use styles defined in `theme.links.nav`. * @see https://theme-ui.com/components/nav-link */ export declare const NavLink: ForwardRef<HTMLAnchorElement, NavLinkProps>;