mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-10-20 18:24:02 +00:00
fix linking just click bug and endTableId error
This commit is contained in:
22
src/components/reference_overview.jsx
Normal file
22
src/components/reference_overview.jsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import React from "react";
|
||||
import { Collapse, Input } from "@douyinfe/semi-ui";
|
||||
|
||||
export default function ReferenceOverview(props) {
|
||||
return (
|
||||
<Collapse>
|
||||
{props.relationships.map((r, i) => (
|
||||
<Collapse.Panel
|
||||
key={i}
|
||||
header={
|
||||
<div>
|
||||
<Input defaultValue={r.name} borderless />
|
||||
</div>
|
||||
}
|
||||
itemKey={`${i}`}
|
||||
>
|
||||
{r.name}
|
||||
</Collapse.Panel>
|
||||
))}
|
||||
</Collapse>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user