UNPKG

react-chatbotify

Version:

A modern React library for creating flexible and extensible chatbots.

6 lines 298 B
import { SetStateAction, MutableRefObject } from "react"; /** * Internal custom hook for creating synced ref and state. */ export declare const useSyncedRefState: <T>(initialValue: T) => [T, (value: SetStateAction<T>) => void, MutableRefObject<T>]; //# sourceMappingURL=useSyncedRefState.d.ts.map