AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

use-mobile-navigation.ts 285B

12345678910
  1. import { useCallback } from 'react';
  2. export type CleanupFn = () => void;
  3. export function useMobileNavigation(): CleanupFn {
  4. return useCallback(() => {
  5. // Remove pointer-events style from body...
  6. document.body.style.removeProperty('pointer-events');
  7. }, []);
  8. }