{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "use-mobile-navigation",
  "title": "Mobile navigation cleanup",
  "description": "A stable callback that clears inline body pointer-events after mobile navigation.",
  "files": [
    {
      "path": "registry/familis/ui/hooks/use-mobile-navigation.ts",
      "content": "\"use client\"\n\nimport { useCallback } from \"react\"\n\nexport type CleanupFn = () => void\n\nexport function useMobileNavigation(): CleanupFn {\n  return useCallback(() => {\n    document.body.style.removeProperty(\"pointer-events\")\n  }, [])\n}\n",
      "type": "registry:hook"
    }
  ],
  "meta": {
    "storybookId": "ui-hooks-mobile-navigation--default"
  },
  "type": "registry:hook"
}