This repository has been archived by the owner on Oct 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add optional controls to views
- Loading branch information
1 parent
17d7909
commit 3655ca0
Showing
4 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
+ ); |
4 changes: 4 additions & 0 deletions
4
library/src/visualiser/react-flow-renderer/ApplicationFocusView.tsx.rej
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
7 changes: 7 additions & 0 deletions
7
library/src/visualiser/react-flow-renderer/ApplicationView.tsx.rej
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
7
library/src/visualiser/react-flow-renderer/SystemView.tsx.rej
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 />} |