@types/react-json
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-json

Weekly Downloads

23

Version

0.2.6

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • types