Searched refs:UseStateHook (Results 1 – 2 of 2) sorted by relevance
5 type UseStateHook<T> = [[boolean, T | null], (value?: T | null) => void]; alias7 function useAsyncState<T>(initialValue?: [boolean, T | null]): UseStateHook<T> {14 ) as UseStateHook<T>;33 export function useStorageState(key: string): UseStateHook<string> {
93 type UseStateHook<T> = [[boolean, T | null], (value?: T | null) => void];97 ): UseStateHook<T> {101 ) as UseStateHook<T>;124 export function useStorageState(key: string): UseStateHook<string> {