Home
last modified time | relevance | path

Searched refs:UseStateHook (Results 1 – 2 of 2) sorted by relevance

/expo/apps/router-e2e/__e2e__/auth/
H A DuseStorageState.ts5 type UseStateHook<T> = [[boolean, T | null], (value?: T | null) => void]; alias
7 function useAsyncState<T>(initialValue?: [boolean, T | null]): UseStateHook<T> {
14 ) as UseStateHook<T>;
33 export function useStorageState(key: string): UseStateHook<string> {
/expo/docs/pages/router/reference/
H A Dauthentication.mdx93 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> {