1 import { useTranslation } from "react-i18next"
2
3 type RegionCellProps = {
4 name: string
5 }
6
7 export const RegionCell = ({ name }: RegionCellProps) => {
8 return (
9 <div className="flex h-full w-full items-center overflow-hidden">
10 <span className="truncate">{name}</span>
11 </div>
12 )
13 }
14
15 export const RegionHeader = () => {
16 const { t } = useTranslation()
17
18 return (
19 <div className="flex h-full w-full items-center">
20 <span className="truncate">{t("fields.name")}</span>
21 </div>
22 )
23 }