Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
var
www
candid-dev-nxt.wpress.dk
httpdocs
node_modules
@mui
utils
useLocalStorageState
File Content:
useLocalStorageState.d.ts
import * as React from 'react'; type Initializer = () => string | null; type UseStorageStateHookResult = [ string | null, React.Dispatch<React.SetStateAction<string | null>> ]; /** * Sync state to local storage so that it persists through a page refresh. Usage is * similar to useState except we pass in a storage key so that we can default * to that value on page load instead of the specified initial value. * * Since the storage API isn't available in server-rendering environments, we * return null during SSR and hydration. */ declare function useLocalStorageStateBrowser(key: string | null, initializer?: string | null | Initializer): UseStorageStateHookResult; declare const _default: typeof useLocalStorageStateBrowser; export default _default;
Edit
Download
Unzip
Chmod
Delete