import React from 'react'; import { NestedNavigation as CoreNestedNavigation } from '@shoptet/ui-core-web'; import type { Exact, SafeOmit } from '@shoptet/utils'; import { NestedNavigationItem } from './NestedNavigationItem'; export interface NestedNavigationListProps extends SafeOmit, 'className'> {} export const NestedNavigationList = Object.assign( function NestedNavigationList({ children, ...rest }: NestedNavigationListProps) { rest satisfies Exact, typeof rest>; return ( {children} ); }, { Item: NestedNavigationItem, } );