@atlaskit/side-navigation
Version:
A highly composable side navigation component that supports nested views.
6 lines (5 loc) • 348 B
TypeScript
import { type MutableRefObject } from 'react';
export declare const useChildIds: (currentStackId: string, committedStack: string[], onUnknownNest?: ((stack: string[]) => void) | undefined) => {
childIdsRef: MutableRefObject<Set<string>>;
};
export declare const useChildIdsEffect: (childIds: MutableRefObject<Set<string>>, id: string) => void;