npm.io
0.2.6 • Published 2 years ago

@types/react-json

Licence
MIT
Version
0.2.6
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0939 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Christoph Spielmann.