@primer/react
Version:
An implementation of GitHub's Primer Design System using React
11 lines • 620 B
TypeScript
/**
* Finds interactive nodes within the passed node.
* If the node itself is interactive, or children within are, it will return true.
*
* @param node - The HTML element to search for interactive nodes in.
* @param ignoreSelectors - A string of selectors to ignore when searching for interactive nodes. This is useful for
* ignoring nodes that are conditionally interactive based on the return value of the function.
* @returns {boolean | undefined}
*/
export declare function hasInteractiveNodes(node: HTMLElement | null, ignoreNodes?: HTMLElement[]): boolean;
//# sourceMappingURL=hasInteractiveNodes.d.ts.map