Installation
npm install --save @types/react-json
Summary
This package contains type definitions for react-json (https://github.com/arqex/react-json).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-json.
index.d.ts
import * as React from "react";
type OnChangeHandler = (value: any) => void;
interface JsonProperties {
value: any;
onChange?: OnChangeHandler | undefined;
}
declare class Json extends React.Component<JsonProperties> {
}
export = Json;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Christoph Spielmann.