Add stream duration to layout header

This commit is contained in:
Gabe Kangas
2020-11-02 17:23:32 -08:00
parent 9b89955bb7
commit 7795a295c0
5 changed files with 32 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import React from "react";
import { timeFormat } from "d3-time-format";
import { Table, } from "antd";
import { Table, Tag} from "antd";
import Linkify from "react-linkify";
import { SortOrder } from "antd/lib/table/interface";
@@ -13,10 +13,7 @@ function renderColumnLevel(text, entry) {
color = "red";
}
const style = {
color,
};
return <div style={style}>{text}</div>;
return <Tag color={color}>{text}</Tag>;
}
function renderMessage(text) {