1 |
|
2 | export 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 | }
|
15 | declare const FocusContext: import("react").Context<Props>;
|
16 | export default FocusContext;
|