mirror of
https://github.com/bendtherules/ts-transformer-visualizer.git
synced 2026-08-19 00:35:13 +00:00
CodeOutput - Add diffing editor to show initial vs current
This commit is contained in:
+3
-10
@@ -7,10 +7,7 @@ import { bindActionCreators } from "redux";
|
||||
import { Provider } from "react-redux";
|
||||
|
||||
import ASTOutline from "./components/ASTOutline";
|
||||
import {
|
||||
CodeOutputForInitial,
|
||||
CodeOutputForCurrent
|
||||
} from "./components/CodeOutput";
|
||||
import CodeOutputDiff from "./components/CodeOutput";
|
||||
|
||||
import configureStore from "./store";
|
||||
import { initSourceFile, updateSourceFile } from "./store/sourceFiles/actions";
|
||||
@@ -22,12 +19,8 @@ const store = configureStore();
|
||||
export function ASTVisualizer() {
|
||||
return (
|
||||
<Provider store={store}>
|
||||
Initial:
|
||||
<br />
|
||||
<CodeOutputForInitial />
|
||||
Current:
|
||||
<br />
|
||||
<CodeOutputForCurrent />
|
||||
Initial vs Current:
|
||||
<CodeOutputDiff />
|
||||
<ASTOutline />
|
||||
</Provider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user