MCPcopy Create free account
hub / github.com/adobe/react-spectrum / SideNavSection

Function SideNavSection

packages/@react-spectrum/s2/src/SideNav.tsx:616–622  ·  view source on GitHub ↗
(props: SideNavSectionProps<T>)

Source from the content-addressed store, hash-verified

614> {}
615
616export function SideNavSection<T extends object>(props: SideNavSectionProps<T>) {
617 return (
618 <NavigationTreeSection {...props} className={style({marginTop: {':not(:first-child)': 24}})}>
619 {props.children}
620 </NavigationTreeSection>
621 );
622}
623
624export interface SideNavHeaderProps extends Omit<
625 NavigationTreeHeaderProps,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected