Files
community-rule/app/hooks/index.ts
T
adilallo 27d74e510c Show Login and Ask an organizer sent and error states.
Connect the live modals to the drawn sent, expired, invalid-email, and send-failed screens, pin the phone footer above the keyboard, and send the light login email.
2026-11-11 16:55:09 -07:00

30 lines
961 B
TypeScript

/**
* Custom hooks for reusable component logic
*
* This module exports all custom hooks used throughout the application.
* Hooks encapsulate complex logic and state management that can be reused
* across multiple components.
*/
export { useClickOutside } from "./useClickOutside";
export { useAnalytics } from "./useAnalytics";
export { useComponentId } from "./useComponentId";
export { useFormField } from "./useFormField";
export { useSchemaData } from "./useSchemaData";
export { useMediaQuery,
useIsMobile,
useIsDesktop,
BREAKPOINTS,
} from "./useMediaQuery";
export { useAsyncConfirm } from "./useAsyncConfirm";
export type { AsyncConfirmOptions } from "./useAsyncConfirm";
export { useBeforeUnloadGuard } from "./useBeforeUnloadGuard";
export { useVisualViewportHeight } from "./useVisualViewportHeight";
export type {
SchemaOrganization,
SchemaWebSite,
SchemaHowTo,
SchemaArticle,
SchemaBreadcrumbList,
} from "./useSchemaData";