import { forwardRef, type ReactNode, type ForwardedRef } from 'react'; import { List, type ListProps } from '../../../atoms'; export type NavListProps = Omit< ListProps, 'children' | 'hideMarker' > & { /** * The nav items. */ children: ReactNode; }; const NavListWithRef = ( { children, isInline, ...props }: NavListProps, ref: ForwardedRef ) => ( {children} ); export const NavList = forwardRef(NavListWithRef);