@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.
10 lines • 359 B
TypeScript
type Undo = () => void;
interface MarkOthersOptions {
ariaHidden?: boolean | undefined;
inert?: boolean | undefined;
mark?: boolean | undefined;
markerIgnoreElements?: Element[] | undefined;
}
export declare const supportsInert: () => boolean;
export declare function markOthers(avoidElements: Element[], options?: MarkOthersOptions): Undo;
export {};