eip-components-web
Version:
EIP components
3 lines • 298 B
TypeScript
declare const usePersistedState: <State>(key: string, decode: (string: string) => State, encode: (state: State) => string, isLive: boolean, defaultState?: State) => [State | null | undefined, (state: State) => void];
export default usePersistedState;
//# sourceMappingURL=usePersistedState.d.ts.map