UNPKG

@654356282/react-keepalive

Version:
13 lines (12 loc) 392 B
/// <reference types="react" /> import type { KeepAliveComponentInfo, Key } from './types'; export interface KeepAliveContext { store: Map<Key, KeepAliveComponentInfo>; activedKey: null | Key; deferActivedKey: Key | null; controller: { drop: (key: Key) => void; }; } declare const Context: import("react").Context<KeepAliveContext | null>; export default Context;