/**
* Copyright (c) 2019 Paul Armstrong
*/
import React from 'react';
import RevisionCell from './RevisionCell';
import RevisionDeltaCell from './RevisionDeltaCell';
import { StyleSheet } from 'react-native';
import TextCell from './TextCell';
import { Tr } from './../Table';
import { CellType, HeaderRow as HRow } from '@build-tracker/comparator';
interface Props {
onFocusRevision: (artifactName: string) => void;
onRemoveRevision: (artifactName: string) => void;
row: HRow;
}
export const HeaderRow = (props: Props): React.ReactElement => {
const { onFocusRevision, onRemoveRevision, row } = props;
const mapHeaderCell = (cell, i): React.ReactElement | void => {
switch (cell.type) {
case CellType.TEXT:
return