prettify some files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user