diff --git a/src/components/diagram_overview.jsx b/src/components/diagram_overview.jsx new file mode 100644 index 0000000..fc4bc7b --- /dev/null +++ b/src/components/diagram_overview.jsx @@ -0,0 +1,117 @@ +import React from "react"; +import { sqlDataTypes } from "../data/data"; +import { + Collapse, + Input, + Row, + Col, + Form, + Button, + Card, + TextArea, +} from "@douyinfe/semi-ui"; +import { + IconMore, + IconKeyStroked, + IconColorPalette, +} from "@douyinfe/semi-icons"; + +export default function DiagramOverview(props) { + return ( + + {props.tables.map((t, i) => ( + + + + } + itemKey={`${i}`} + > +
+ {t.fields.map((f, j) => ( +
+ + + + + + { + return { + label: value, + value: value, + }; + })} + filter + initValue={f.type} + > + + + + + + + + + + + +
+ ))} +
+ + + +

indices

+
+
+
+ + + +