UNPKG

@curveball/browser

Version:

Automatic API browser generator. A middleware that turns your JSON responses into HTML if accessed by a browser.

9 lines (8 loc) 221 B
import * as React from 'react'; import { JsonSchema } from '../types.js'; type Props = { data: string; schema: JsonSchema | null; }; export default function JsonViewer(props: Props): React.JSX.Element; export {};