@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
4 lines • 446 B
TypeScript
import type { FloatingNodeType } from "../types.js";
export declare function getNodeChildren(nodes: Array<FloatingNodeType>, id: string | undefined, onlyOpenChildren?: boolean): Array<FloatingNodeType>;
export declare function getDeepestNode(nodes: Array<FloatingNodeType>, id: string | undefined): FloatingNodeType | undefined;
export declare function getNodeAncestors(nodes: Array<FloatingNodeType>, id: string | undefined): FloatingNodeType[];