Split up config sections into pages

This commit is contained in:
Gabe Kangas
2020-10-29 10:16:13 -07:00
parent 34458c1676
commit 83de63b1e8
5 changed files with 268 additions and 150 deletions

View File

@@ -0,0 +1,25 @@
import { Table, Typography } from "antd";
const { Title } = Typography;
export default function KeyValueTable({ title, data }) {
const columns = [
{
title: "Name",
dataIndex: "name",
key: "name",
},
{
title: "Value",
dataIndex: "value",
key: "value",
},
];
return (
<div>
<Title>{title}</Title>
<Table pagination={false} columns={columns} dataSource={data} />
</div>
);
}