/** * Family Page Component * * Thin wrapper around GenericModulePage. All handlers, header actions, and row * actions live in context.tsx — this file only owns: * - tableBodyCols (static, module-level constant) * - familyConfig (memoised on locale change only; size fixed so the * component type produced by createGenericModulePage never changes at * runtime, preventing the infinite-remount re-render loop) * - permission guard * * Exported utilities: * - `FamilyPage` — root component that wraps with FamilyProvider */ import { FC } from "react"; import { USER_ROLE } from "../../type"; interface Props { drawerButtonCancel: string; drawerButtonSave: string; drawerFilterDescription: string; drawerFilterTitle: string; drawerFormDescription: string; drawerFormTitle: string; drawerMoreActionsDescription: string; drawerMoreActionsTitle: string; drawerViewDescription: string; drawerViewTitle: string; tableColumnHeaderActions: string; tableColumnHeaderAddress: string; tableColumnHeaderCity: string; tableColumnHeaderEnabled: string; tableColumnHeaderFamilyCode: string; tableColumnHeaderId: string; tableColumnHeaderPrimaryEmail: string; tableDescription: string; tableSearchPlaceholder: string; tableTitle: string; userRole: USER_ROLE; } export declare const FamilyPage: FC; export {};