import React from "react" import Head from "next/head" import MaterialTable from "material-table" import { useTheme } from "@material-ui/core/styles" import tableIcons from "./models/tableIcons" import { CommonTableProps } from "./models/types" import { CommonTableDefaultProps as DefaultProps } from "./models/defaultProps" import { useTranslation } from "react-i18next" import localization from "@/components/CommonTable/localization" import { ENV } from "@/utils/config" export function CommonTableHead({ title }: { title?: string }) { return ( {title || "List"} - {ENV.SITE_NAME} ) } export default function CommonTable(props: CommonTableProps) { const { t } = useTranslation("table") const theme = useTheme() return ( ) }