@base-ui/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.
9 lines • 400 B
TypeScript
import * as React from 'react';
/**
* @internal
*/
export declare function useAriaLabelledBy(explicitAriaLabelledBy: string | undefined, labelId: string | undefined, labelSourceRef: React.RefObject<LabelSource | null>, enableFallback?: boolean, labelSourceId?: string): string | undefined;
type LabelSource = HTMLElement & {
labels?: NodeListOf<HTMLLabelElement> | null | undefined;
};
export {};