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

Commit

Permalink
feat: add optional controls to views
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Sep 28, 2022
1 parent 17d7909 commit 3655ca0
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions library/src/standalone-codebase.ts.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
diff a/library/src/standalone-codebase.ts b/library/src/standalone-codebase.ts (rejected hunks)
@@ -30 +30,5 @@ export function createRender<P>(component: any) {
- renderComponent(React.createElement(component, props as any), container, callback);
+ renderComponent(
+ React.createElement(component, props as any),
+ container,
+ callback,
+ );
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
diff a/library/src/visualiser/react-flow-renderer/ApplicationFocusView.tsx b/library/src/visualiser/react-flow-renderer/ApplicationFocusView.tsx (rejected hunks)
@@ -46 +46 @@ export const ApplicationFocusView: React.FunctionComponent<ApplicationFocusViewP
- includeControls = false
+ includeControls = false,
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
diff a/library/src/visualiser/react-flow-renderer/ApplicationView.tsx b/library/src/visualiser/react-flow-renderer/ApplicationView.tsx (rejected hunks)
@@ -6 +6 @@ import ReactFlow, {
- Controls
+ Controls,
@@ -38 +38 @@ export const ApplicationView: React.FunctionComponent<ApplicationViewProps> = ({
- includeControls = false
+ includeControls = false,
7 changes: 7 additions & 0 deletions library/src/visualiser/react-flow-renderer/SystemView.tsx.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
diff a/library/src/visualiser/react-flow-renderer/SystemView.tsx b/library/src/visualiser/react-flow-renderer/SystemView.tsx (rejected hunks)
@@ -42 +42 @@ export const SystemView: React.FunctionComponent<SystemViewProps> = ({
- includeControls = false
+ includeControls = false,
@@ -74 +74 @@ export const SystemView: React.FunctionComponent<SystemViewProps> = ({
- {includeControls && <Controls/>}
+ {includeControls && <Controls />}

0 comments on commit 3655ca0

Please sign in to comment.