import { TableConfig, useTableManager } from '@/hooks/use-table-manager';
import { IAddRoadmap } from '@/shared/types/driver';
import { _AddNewRoadmap, DEFAULT_NEW_ROADMAP_TABLE_HEAD } from '@/shared/_mock/_roadMap';

const clientConfig: TableConfig<IAddRoadmap> = {
  initialData: _AddNewRoadmap,
  defaultTableHead: DEFAULT_NEW_ROADMAP_TABLE_HEAD,
};
export function useAddNewRoadMapTable() {
  return useTableManager<IAddRoadmap>(clientConfig);
}