prettify some files

This commit is contained in:
gingervitis
2021-02-04 09:19:16 -08:00
parent 7786c7e113
commit c65c97df85
7 changed files with 102 additions and 194 deletions

View File

@@ -1,18 +1,18 @@
import { Table, Typography } from "antd";
import { Table, Typography } from 'antd';
const { Title } = Typography;
export default function KeyValueTable({ title, data }: KeyValueTableProps) {
const columns = [
{
title: "Name",
dataIndex: "name",
key: "name",
title: 'Name',
dataIndex: 'name',
key: 'name',
},
{
title: "Value",
dataIndex: "value",
key: "value",
title: 'Value',
dataIndex: 'value',
key: 'value',
},
];
@@ -25,6 +25,6 @@ export default function KeyValueTable({ title, data }: KeyValueTableProps) {
}
interface KeyValueTableProps {
title: string,
data: any,
};
title: string;
data: any;
}