Socket
Book a DemoInstallSign in
Socket

@saasquatch/json-schema-editor-visual

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saasquatch/json-schema-editor-visual

A visual json schema editor

latest
npmnpm
Version
1.0.3
Version published
Weekly downloads
121
5950%
Maintainers
0
Weekly downloads
 
Created
Source

SaaSquatch Json Schema Editor

Installing via NPM

npm install @saasquatch/json-schema-editor-visual

Getting Started

import "antd/dist/antd.css";
import "@saasquatch/json-schema-editor-visual/dist/index.css";
import createEditor from "@saasquatch/json-schema-editor-visual";

const SchemaEditor = createEditor();

const SchemaEditorView = () => {
  return (
    <>
      <SchemaEditor />
    </>
  );
};

The schema editor is designed to be compatible with JSON Schema version draft-06. Visit the JSON Schema Website to learn more.

Schema Editor Props

nametypedefaultdescription
datastringnullthe data of editor
onChangefunctionnullthe function triggered when changes to the editor's data occur

Acknowledgements

Forked from YMFE.

FAQs

Package last updated on 02 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts