import { type FC, type ReactNode } from 'react'; import { Flex } from 'antd'; interface TablePageLayoutProps { title: ReactNode; extra?: ReactNode; children: ReactNode; } /** * Standard table page container with white background, title and action area. * Used by management pages like MemberManagement, UserManagement, etc. */ const TablePageLayout: FC = ({ title, extra, children }) => { return (
{title}
{extra &&
{extra}
}
{children}
); }; export default TablePageLayout;