@fountainhead/react-json-delta-inspector
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -7,2 +7,3 @@ import * as React from 'react'; | ||
}; | ||
export declare const DeltaInspector: React.SFC<Props>; | ||
declare const DeltaInspector: React.SFC<Props>; | ||
export { DeltaInspector }; |
@@ -10,3 +10,3 @@ "use strict"; | ||
var renderedObject_1 = require("./renderedObject"); | ||
exports.DeltaInspector = function (_a) { | ||
var DeltaInspector = function (_a) { | ||
var prev = _a.prev, delta = _a.delta; | ||
@@ -16,2 +16,3 @@ return (React.createElement(ThemeProvider_1.default, { theme: 'chromeLight' }, | ||
}; | ||
exports.DeltaInspector = DeltaInspector; | ||
//# sourceMappingURL=DeltaInspector.js.map |
@@ -7,2 +7,3 @@ import * as React from 'react'; | ||
}; | ||
export declare const DeltaInspector: React.SFC<Props>; | ||
declare const DeltaInspector: React.SFC<Props>; | ||
export { DeltaInspector }; |
@@ -8,4 +8,5 @@ import * as React from 'react'; | ||
import { makeRenderedObject } from './renderedObject'; | ||
export const DeltaInspector = ({ prev, delta }) => (React.createElement(ThemeProvider, { theme: 'chromeLight' }, | ||
const DeltaInspector = ({ prev, delta }) => (React.createElement(ThemeProvider, { theme: 'chromeLight' }, | ||
React.createElement(TreeView, { nodeRenderer: NodeRenderer, dataIterator: dataIterator, data: makeRenderedObject(prev, delta), expandPaths: expandPaths(delta) }))); | ||
export { DeltaInspector }; | ||
//# sourceMappingURL=DeltaInspector.js.map |
{ | ||
"name": "@fountainhead/react-json-delta-inspector", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Visualize and explore changes to JSON objects generated by 'json-delta', using 'react-inspector'", | ||
@@ -5,0 +5,0 @@ "main": "dist-cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
320737
1100