/** * Family Member 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) * - familyMemberConfig (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: * - `FamilyMemberPage` — root component that wraps with FamilyMemberProvider */ import { FC } from "react"; import { USER_ROLE } from "../../type"; interface ConfigProps { dispatch: React.Dispatch<{ type: string; payload?: unknown; }>; drawerButtonCancel: string; drawerButtonSave: string; drawerFilterDescription: string; drawerFilterTitle: string; drawerFormDescription: string; drawerFormTitle: string; drawerMoreActionsDescription: string; drawerMoreActionsTitle: string; drawerViewDescription: string; drawerViewTitle: string; tableColumnHeaderActions: string; tableColumnHeaderEmail: string; tableColumnHeaderEnabled: string; tableColumnHeaderFirstName: string; tableColumnHeaderId: string; tableColumnHeaderPhone: string; tableColumnHeaderPrimaryContact: string; tableColumnHeaderRole: string; tableDescription: string; tableSearchPlaceholder: string; tableTitle: string; } type Props = Omit & { drawerButtonCancel: string; drawerButtonSave: string; drawerFilterDescription: string; drawerFilterTitle: string; drawerFormDescription: string; drawerFormTitle: string; drawerMoreActionsDescription: string; drawerMoreActionsTitle: string; drawerViewDescription: string; drawerViewTitle: string; tableColumnHeaderActions: string; tableColumnHeaderEmail: string; tableColumnHeaderEnabled: string; tableColumnHeaderFirstName: string; tableColumnHeaderId: string; tableColumnHeaderPhone: string; tableColumnHeaderPrimaryContact: string; tableColumnHeaderRole: string; tableDescription: string; tableSearchPlaceholder: string; tableTitle: string; userRole: USER_ROLE; }; export declare const FamilyMemberPage: FC; export {};