Files
community-rule/app/hooks/index.ts
T
2026-05-22 13:30:47 -06:00

28 lines
829 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 type {
SchemaOrganization,
SchemaWebSite,
SchemaHowTo,
SchemaArticle,
SchemaBreadcrumbList,
} from "./useSchemaData";