import { type TableConfig, useTableManager } from "@/hooks/use-table-manager"
import { _exports, DEFAULT_EXPORT_TABLE_HEAD } from "@/shared/_mock/_export"
import { IExport } from "@/shared/types/export"

const exportConfig: TableConfig<IExport> = {
  initialData: _exports,
  defaultTableHead: DEFAULT_EXPORT_TABLE_HEAD,
}

export function useExportTable() {
  return useTableManager<IExport>(exportConfig)
}
