portainer/app/react/kubernetes/applications/DetailsView/PlacementsDatatable/columns/index.tsx

16 lines
355 B
TypeScript

import { buildExpandColumn } from '@@/datatables/expand-column';
import { NodePlacementRowData } from '../../types';
import { columnHelper } from './helper';
import { status } from './status';
export const columns = [
buildExpandColumn<NodePlacementRowData>(),
status,
columnHelper.accessor('name', {
header: 'Node',
id: 'node',
}),
];