Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions src/stream-store/Viewer/HalViewer/components/StreamHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import { Table } from 'components';
import React from 'react';
import React, { CSSProperties } from 'react';

const nowrap: CSSProperties = { whiteSpace: 'nowrap' };

const StreamHeader = () => (
<Table.Head>
<Table.Row>
<Table.Cell>{'StreamId'}</Table.Cell>
<Table.Cell>{'Message Id'}</Table.Cell>
<Table.Cell>{'Created UTC'}</Table.Cell>
<Table.Cell>{'Type'}</Table.Cell>
<Table.Cell style={nowrap}>{'Stream Id'}</Table.Cell>
<Table.Cell style={nowrap}>{'Message Id'}</Table.Cell>
<Table.Cell style={nowrap}>{'Created UTC'}</Table.Cell>
<Table.Cell style={nowrap}>{'Type'}</Table.Cell>
<Table.Cell style={{ width: '100%' }}>
{'Stream Id@Version'}
</Table.Cell>
<Table.Cell>{'Position'}</Table.Cell>
<Table.Cell style={nowrap}>{'Position'}</Table.Cell>
</Table.Row>
</Table.Head>
);
Expand Down