import { QueryEnumForHolder } from '@/services/data/tuples/query-enum-types' ; import { Topic } from '@/services/data/tuples/topic-types' ; import React from 'react' ; import { FactorAddButton } from './factor-add-button' ; import { FactorsDownloadTemplateButton } from './factors-download-template-button' ; import { FactorsImportButton } from './factors-import-button' ; import { FactorsTableBody } from './factors-table-body' ; import { FactorsTableHeader } from './factors-table-header' ; import { FactorsTableContainer , FactorsTableFooter } from './widgets' ; export const FactorsTable = ( props ) => { const { topic , enums } = props ; return < FactorsTableContainer > < FactorsTableHeader topic = { topic } /> < FactorsTableBody topic = { topic } enums = { enums } / > < FactorsTableFooter > < FactorAddButton topic = { topic } /> < FactorsImportButton topic = { topic } / > < FactorsDownloadTemplateButton /> < /FactorsTableFooter> < /FactorsTableContainer>; } ;