UNPKG

phx-react

Version:

PHX REACT

12 lines (11 loc) 385 B
import type { HistoryState } from '@lexical/react/LexicalHistoryPlugin'; import * as React from 'react'; import { ReactNode } from 'react'; type ContextShape = { historyState?: HistoryState; }; export declare const SharedHistoryContext: ({ children }: { children: ReactNode; }) => React.JSX.Element; export declare const useSharedHistoryContext: () => ContextShape; export {};