1 import { useTranslation } from "react-i18next"
2
3 import { ConfigurableDataTable } from "../../../components/table/configurable-data-table"
4 import { useLocationTableAdapter } from "./location-table-adapter"
5
6 export const ConfigurableLocationListTable = () => {
7 const { t } = useTranslation()
8 const adapter = useLocationTableAdapter()
9
10 return (
11 <ConfigurableDataTable
12 adapter={adapter}
13 heading={t("stockLocations.domain")}
14 subHeading={t("stockLocations.list.description")}
15 actions={[{ label: t("actions.create"), to: "create" }]}
16 layout="fill"
17 />
18 )
19 }