mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
* minor archive table updates * archived date cell * archive import paths * move project health table files * fix: align actions cells * simplify health table row mapping * fix project pages browser tab title * initial draft of virtualized table component * refactor: virtualized table common component * fix: health report name cell width * refactor: report cell paths
21 lines
534 B
TypeScript
21 lines
534 B
TypeScript
import { VFC } from 'react';
|
|
import { LinkCell } from 'component/common/Table/cells/LinkCell/LinkCell';
|
|
|
|
interface IFeatureNameCellProps {
|
|
row: {
|
|
original: {
|
|
name: string;
|
|
description: string;
|
|
project: string;
|
|
};
|
|
};
|
|
}
|
|
|
|
export const FeatureNameCell: VFC<IFeatureNameCellProps> = ({ row }) => (
|
|
<LinkCell
|
|
title={row.original.name}
|
|
subtitle={row.original.description}
|
|
to={`/projects/${row.original.project}/features/${row.original.name}`}
|
|
/>
|
|
);
|