@types/jsoneditor-for-react

TypeScript definitions for jsoneditor-for-react

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
34,930810Jul 23, 2021Oct 5, 2012Minified + gzip package size for @types/jsoneditor-for-react in KB

Readme

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

// Type definitions for jsoneditor-for-react 0.0
// Project: https://github.com/mixj93/jsoneditor-for-react#readme
// Definitions by:  JoshGoldberg <https://github.com/joshuakgoldberg>
//                  Joep Kockelkorn <https://github.com/joepkockelkorn>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

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

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 JoshGoldberg, and Joep Kockelkorn.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.