0.2.6 • Published 6 months ago
@types/react-json v0.2.6
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
// Type definitions for react-json 0.2
// Project: https://github.com/arqex/react-json
// Definitions by: Christoph Spielmann <https://github.com/spielc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
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: Thu, 08 Jul 2021 20:20:51 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Christoph Spielmann.