nukeop/nuclear

View on GitHub
packages/ui/lib/components/TrackTable/Cells/TrackTableCell.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React, { TdHTMLAttributes } from 'react';
import { CellProps } from 'react-table';

import { Track } from '../../../types';

const TrackTableCell: React.FC<CellProps<Track>> = ({
  cell,
  value
}) => <td {...cell.getCellProps() as TdHTMLAttributes<HTMLTableCellElement>}>
  {value}
</td>;

export default TrackTableCell;