import type { LinkProps } from "@remix-run/react"; import { NavLink } from "@remix-run/react"; import clsx from "clsx"; import type * as React from "react"; export function SubNav({ children, secondary, }: { children: React.ReactNode; secondary?: boolean; }) { return (
); } export function SubNavLink({ children, className, end = true, secondary = false, controlled = false, active = false, ...props }: LinkProps & { end?: boolean; children: React.ReactNode; secondary?: boolean; controlled?: boolean; active?: boolean; }) { return ( clsx("sub-nav__link__container", { active: controlled ? active : state.isActive, pending: state.isPending, }) } end={end} {...props} >
{children}
); }