react-aria
Version:
Spectrum UI components in React
12 lines (11 loc) • 360 B
TypeScript
import { RefObject } from '@react-types/shared';
interface AriaHasTabbableChildOptions {
isDisabled?: boolean;
}
/**
* Returns whether an element has a tabbable child, and updates as children change.
*
* @private
*/
export declare function useHasTabbableChild(ref: RefObject<Element | null>, options?: AriaHasTabbableChildOptions): boolean;
export {};