Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #29 from lars-reimann/revert-28-Dokumenations-Anze…
Browse files Browse the repository at this point in the history
…ige-Schoen-Machen

Revert "Dokumenations anzeige schoen machen"
  • Loading branch information
paul0314 authored Jun 4, 2021
2 parents ae6d00e + 908c4a2 commit 9ceade9
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 117 deletions.
6 changes: 2 additions & 4 deletions client/src/Components/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ import ParameterView from "../ParameterView/ParameterView";
import TreeView from "../TreeView/TreeView";

function App() {
const [parameters, setParameters] = useState([]);

return (
<div className="App">
<TreeView setParameters={setParameters}/>
<ParameterView inputParameters={parameters}/>
<TreeView />
<ParameterView parameters={null}/>
</div>
);
}
Expand Down
25 changes: 0 additions & 25 deletions client/src/Components/ParameterView/DocumentationText.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions client/src/Components/ParameterView/ParameterNode.tsx

This file was deleted.

42 changes: 0 additions & 42 deletions client/src/Components/ParameterView/ParameterView.css

This file was deleted.

17 changes: 17 additions & 0 deletions client/src/Components/ParameterView/ParameterView.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";

const ParameterView = ({parameters}) => {

return (
<div>
{
parameters?.map(function (parameters) {
return (<p key={parameters.name}> {parameters.name}: {parameters.type} </p>)
})
}
</div>
)
};

export default ParameterView;

24 changes: 0 additions & 24 deletions client/src/Components/ParameterView/ParameterView.tsx

This file was deleted.

0 comments on commit 9ceade9

Please sign in to comment.