Files
rn-app/hooks/index.ts

25 lines
591 B
TypeScript
Raw Normal View History

2025-11-06 16:37:01 +08:00
/**
* Hooks
*/
// Debounce
2025-11-13 16:47:10 +08:00
export { useDebounce, useDebounceValue } from './useDebounce';
2025-11-06 16:37:01 +08:00
// Throttle
export { useThrottle } from './useThrottle';
// Haptics
export { useHaptics } from './useHaptics';
// Request
export { useRequest } from './useRequest';
// Theme
2025-11-13 16:47:10 +08:00
export { useColorScheme, useThemeColor, useThemeColors, useThemeInfo } from './useTheme';
2025-11-06 16:37:01 +08:00
// Client-only value (for SSR/Web compatibility)
export { useClientOnlyValue } from './useClientOnlyValue';
2025-11-12 00:13:26 +08:00
// Game Menus
2025-11-13 16:47:10 +08:00
export { useGameMainMenus, useMenuDataLoaded, useGameMenuTabs } from './useGameMenus';