UNPKG

tap

Version:

A Test-Anything-Protocol library for JavaScript

18 lines (17 loc) 596 B
/// <reference types="react" /> export interface Props { readonly activeId?: string; readonly add: (id: string, options: { autoFocus: boolean; }) => void; readonly remove: (id: string) => void; readonly activate: (id: string) => void; readonly deactivate: (id: string) => void; readonly enableFocus: () => void; readonly disableFocus: () => void; readonly focusNext: () => void; readonly focusPrevious: () => void; readonly focus: (id: string) => void; } declare const FocusContext: import("react").Context<Props>; export default FocusContext;