// Type definitions for react-json-pretty 1.3 // Project: https://github.com/chenckang/react-json-pretty // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import { ComponentClass, HTMLProps } from "react"; export as namespace JSONPretty; export = JSONPretty; declare const JSONPretty: JSONPretty; type JSONPretty = ComponentClass; declare namespace JSONPretty { interface JSONPrettyProps extends HTMLProps { json: {} | string; } }