mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
239 B
TypeScript
13 lines
239 B
TypeScript
import * as React from "react";
|
|
// import * as ReactDOM from "react-dom";
|
|
import JSONTree from "react-json-tree";
|
|
|
|
<JSONTree data={{
|
|
string: "string",
|
|
array: [1, 2, 3],
|
|
bool: true,
|
|
object: {
|
|
foo: "bar"
|
|
}
|
|
}} />;
|