npm.io
0.0.7 • Published 2 years ago

@types/jsoneditor-for-react

Licence
MIT
Version
0.0.7
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/jsoneditor-for-react

Summary

This package contains type definitions for jsoneditor-for-react (https://github.com/mixj93/jsoneditor-for-react#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsoneditor-for-react.

index.d.ts

import JSONEditor, { JSONEditorOptions } from "jsoneditor";
import * as React from "react";

export interface ReactJsonEditorProps {
    values: {};
}

export default class ReactJsoneditor extends React.Component<ReactJsonEditorProps> {
    private editor?: JSONEditor | undefined;
    private options?: JSONEditorOptions | undefined;
}

Additional Details

Credits

These definitions were written by Joep Kockelkorn.