UNPKG

554 BTypeScriptView Raw
1/// <reference types="react" />
2export interface Props {
3 readonly activeId?: string;
4 readonly add: (id: string, options: {
5 autoFocus: boolean;
6 }) => void;
7 readonly remove: (id: string) => void;
8 readonly activate: (id: string) => void;
9 readonly deactivate: (id: string) => void;
10 readonly enableFocus: () => void;
11 readonly disableFocus: () => void;
12 readonly focusNext: () => void;
13 readonly focusPrevious: () => void;
14}
15declare const FocusContext: import("react").Context<Props>;
16export default FocusContext;