Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xrenders/schema-builder

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xrenders/schema-builder

通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成

  • 1.0.0-alpha.19
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

如何使用

安装

npm i @xrenders/schema-builder

代码演示

/**
 * transform: true
 * defaultShowCode: true
 */
import React from 'react';
import SchemaBuilder from '@xrenders/schema-builder';

const defaultValue = {
  type: 'object',
  properties: {
    inputName: {
      title: '简单输入框',
      type: 'string',
    },
  },
};

const Demo = () => {
  return (
    <div style={{ height: '80vh' }}>
      <SchemaBuilder defaultValue={defaultValue} />
    </div>
  );
};

export default Demo;

Keywords

FAQs

Package last updated on 26 Sep 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc