13 lines
439 B
TypeScript
13 lines
439 B
TypeScript
|
import * as React from 'react';
|
||
|
export type FocusRectsProviderProps = {
|
||
|
/**
|
||
|
* Ref to the root element that this is providing focus rects for.
|
||
|
*/
|
||
|
providerRef: React.RefObject<HTMLElement>;
|
||
|
/**
|
||
|
* Indicates that this is the root of a layer, and should not inherit the providerRef from a parent context.
|
||
|
*/
|
||
|
layerRoot?: boolean;
|
||
|
};
|
||
|
export declare const FocusRectsProvider: React.FC<FocusRectsProviderProps>;
|