@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
11 lines (10 loc) • 499 B
TypeScript
import type { IconProp } from "@fortawesome/fontawesome-svg-core";
import type { PropsFor } from "../../types.js";
export type NavItemProps = PropsFor<"div", {
/** Font Awesome icon reference (or string if using library) */
icon?: IconProp;
/** External link styling (arrow pointing up and to the right) */
external?: boolean;
}>;
declare const NavItem: import("react").ForwardRefExoticComponent<NavItemProps & import("react").RefAttributes<HTMLDivElement>>;
export default NavItem;