@kickstartds/storybook-addon-jsonschema
Version:
Show JSON Schema files associated with components, integrated with Story Controls
12 lines (11 loc) • 395 B
TypeScript
import React from "react";
import type { IRange, editor } from "monaco-editor";
import { JsonSchema } from "@kickstartds/json-schema-viewer";
type SchemaEditorProps = {
schema: JsonSchema;
setValidationResults: (marker: editor.IMarker[]) => void;
selectedValidationRange?: IRange;
packArgs?: boolean;
};
export declare const SchemaEditor: React.FC<SchemaEditorProps>;
export {};