vtils

Home > react > useLocalStorage

useLocalStorage() function

Signature:

export declare function useLocalStorage<S>(key: string): UseLocalStorageResult<S | undefined>;

Parameters

Parameter Type Description
key string  

Returns:

UseLocalStorageResult<S | undefined>