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. }